Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 100.7 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 198.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6323/0.6323, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.89 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2791, allocations: 76.17 MB / 0.556 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003892/0.283, allocations: 4.114 MB / 0.56 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2846, allocations: 1.273 MB / 0.5613 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.2849, allocations: 24.41 kB / 0.5613 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.2851, allocations: 98.11 kB / 0.5614 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.2854, allocations: 145.6 kB / 0.5615 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.286, allocations: 381.1 kB / 0.5619 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000654/0.2867, allocations: 0.9523 MB / 0.5628 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.2872, allocations: 456.3 kB / 0.5633 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.2874, allocations: 340.3 kB / 0.5636 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.2877, allocations: 331.9 kB / 0.5639 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.992e-05/0.2878, allocations: 92.28 kB / 0.564 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2879, allocations: 90.62 kB / 0.5641 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.647e-05/0.288, allocations: 176.7 kB / 0.5642 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.2882, allocations: 396.9 kB / 0.5646 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.289, allocations: 1.039 MB / 0.5656 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.289, allocations: 0 / 0.5656 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.289, allocations: 1.219 kB / 0.5656 GB, free: 29.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.289, allocations: 1.594 kB / 0.5656 GB, free: 29.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001456/0.2905, allocations: 1.07 MB / 0.5667 GB, free: 28.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2905, allocations: 10.92 kB / 0.5667 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.391e-05/0.2906, allocations: 101.6 kB / 0.5668 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2907, allocations: 84.88 kB / 0.5669 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.2914, allocations: 0.5537 MB / 0.5674 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.2914, allocations: 47.62 kB / 0.5675 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.2915, allocations: 60.58 kB / 0.5675 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.2925, allocations: 0.6071 MB / 0.5681 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.2925, allocations: 1.125 kB / 0.5681 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.2925, allocations: 29.42 kB / 0.5681 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.2926, allocations: 14.81 kB / 0.5682 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.2934, allocations: 459.6 kB / 0.5686 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.2958, allocations: 2.01 MB / 0.5706 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.2966, allocations: 442.9 kB / 0.571 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.297, allocations: 237.7 kB / 0.5712 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.297, allocations: 5.906 kB / 0.5712 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005126/0.2976, allocations: 263.7 kB / 0.5715 GB, free: 26.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.023e-06/0.2976, allocations: 0 / 0.5715 GB, free: 26.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.00112/0.2987, allocations: 0.589 MB / 0.572 GB, free: 25.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.2987, allocations: 62.53 kB / 0.5721 GB, free: 25.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.2991, allocations: 437.8 kB / 0.5725 GB, free: 25.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2992, allocations: 41.98 kB / 0.5726 GB, free: 25.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.2994, allocations: 322.6 kB / 0.5729 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.2995, allocations: 167.6 kB / 0.573 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.2996, allocations: 92.86 kB / 0.5731 GB, free: 25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.2997, allocations: 364.7 kB / 0.5735 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.3, allocations: 167.8 kB / 0.5736 GB, free: 24.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.3004, allocations: 247.9 kB / 0.5739 GB, free: 24.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.3011, allocations: 453.5 kB / 0.5743 GB, free: 24.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.3011, allocations: 0 / 0.5743 GB, free: 24.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008833/0.302, allocations: 0.5635 MB / 0.5748 GB, free: 23.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.302, allocations: 34.02 kB / 0.5749 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.302, allocations: 6.75 kB / 0.5749 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.302, allocations: 5.625 kB / 0.5749 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.3025, allocations: 114.4 kB / 0.575 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3025, allocations: 8.562 kB / 0.575 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.3029, allocations: 65.14 kB / 0.5751 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.3029, allocations: 18.06 kB / 0.5751 GB, free: 23.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.3031, allocations: 214.2 kB / 0.5753 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.3031, allocations: 61.94 kB / 0.5753 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.3033, allocations: 69.47 kB / 0.5754 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3033, allocations: 4.812 kB / 0.5754 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3033, allocations: 0.7969 kB / 0.5754 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3033, allocations: 2.062 kB / 0.5754 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.3047, allocations: 1.181 MB / 0.5766 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3047, allocations: 0 / 0.5766 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/0.3052, allocations: 91.22 kB / 0.5767 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3052, allocations: 3.219 kB / 0.5767 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.3052, allocations: 11.61 kB / 0.5767 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3052, allocations: 3.094 kB / 0.5767 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3052, allocations: 0.7812 kB / 0.5767 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3064, allocations: 0.7637 MB / 0.5774 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3065, allocations: 171.6 kB / 0.5776 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.074e-05/0.3066, allocations: 12.5 kB / 0.5776 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.3069, allocations: 27.67 kB / 0.5776 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.307, allocations: 37.36 kB / 0.5777 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.307, allocations: 11.39 kB / 0.5777 GB, free: 22.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002694/0.3073, allocations: 308.4 kB / 0.578 GB, free: 22.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3073, allocations: 1.719 kB / 0.578 GB, free: 22.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003848/0.3077, allocations: 146.3 kB / 0.5781 GB, free: 22.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.309, allocations: 1.322 MB / 0.5794 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.3099, allocations: 0.4934 MB / 0.5799 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3099, allocations: 0.5 kB / 0.5799 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.3103, allocations: 218 kB / 0.5801 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.311, allocations: 158 kB / 0.5802 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006527/0.3175, allocations: 5.141 MB / 0.5853 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3178, allocations: 0.8877 MB / 0.5861 GB, free: 16.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.3181, allocations: 68.19 kB / 0.5862 GB, free: 16.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.3184, allocations: 217.8 kB / 0.5864 GB, free: 16.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3184, allocations: 0.9375 kB / 0.5864 GB, free: 16.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4441/0.7625, allocations: 10.95 MB / 0.5971 GB, free: 10.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.7627, allocations: 201.5 kB / 0.5973 GB, free: 9.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.725, allocations: 0 / 0.5973 GB, free: 9.906 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)