Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_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.001102/0.001102, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009597/0.009597, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 12.73 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4089, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004208/0.4131, allocations: 3.698 MB / 0.5874 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.4159, allocations: 1.269 MB / 0.5886 GB, free: 420 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008872/0.4168, allocations: 24.84 kB / 0.5886 GB, free: 412 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.4173, allocations: 91.09 kB / 0.5887 GB, free: 356 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006931/0.418, allocations: 149.3 kB / 0.5888 GB, free: 244 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.419, allocations: 386.6 kB / 0.5892 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.4206, allocations: 0.8705 MB / 0.5901 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008696/0.4215, allocations: 424.4 kB / 0.5905 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005993/0.4221, allocations: 239.3 kB / 0.5907 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.4227, allocations: 260.1 kB / 0.5909 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.4228, allocations: 22.84 kB / 0.591 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.423, allocations: 24.22 kB / 0.591 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.4232, allocations: 97.66 kB / 0.5911 GB, free: 15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.4237, allocations: 335.2 kB / 0.5914 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.4252, allocations: 0.9538 MB / 0.5923 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.4252, allocations: 9.406 kB / 0.5923 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4252, allocations: 0.5156 kB / 0.5923 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-05/0.4252, allocations: 0 / 0.5923 GB, free: 14.48 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.002376/0.4276, allocations: 0.9495 MB / 0.5933 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4277, allocations: 13.28 kB / 0.5933 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.4279, allocations: 99.58 kB / 0.5934 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.428, allocations: 87.14 kB / 0.5935 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/0.429, allocations: 0.5473 MB / 0.594 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.429, allocations: 45.47 kB / 0.594 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4292, allocations: 59.83 kB / 0.5941 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4305, allocations: 0.6132 MB / 0.5947 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.4305, allocations: 8.906 kB / 0.5947 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.4306, allocations: 21.72 kB / 0.5947 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.4306, allocations: 14.94 kB / 0.5947 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.4317, allocations: 470.7 kB / 0.5952 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.435, allocations: 2.025 MB / 0.5972 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.4359, allocations: 456.7 kB / 0.5976 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.4364, allocations: 242.2 kB / 0.5978 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.4364, allocations: 5.438 kB / 0.5978 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006164/0.4371, allocations: 274.4 kB / 0.5981 GB, free: 10.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/0.4371, allocations: 0 / 0.5981 GB, free: 10.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001377/0.4385, allocations: 0.6025 MB / 0.5987 GB, free: 10.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4385, allocations: 57.25 kB / 0.5987 GB, free: 10.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.4391, allocations: 444.3 kB / 0.5992 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.4391, allocations: 32.7 kB / 0.5992 GB, free: 10.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.4393, allocations: 332.2 kB / 0.5995 GB, free: 9.992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.4395, allocations: 161.4 kB / 0.5997 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.4396, allocations: 54.84 kB / 0.5997 GB, free: 9.809 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4397, allocations: 366.2 kB / 0.6001 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.4401, allocations: 165.5 kB / 0.6002 GB, free: 9.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.4405, allocations: 258.6 kB / 0.6005 GB, free: 9.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.4414, allocations: 467.2 kB / 0.6009 GB, free: 8.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4414, allocations: 0 / 0.6009 GB, free: 8.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00108/0.4425, allocations: 0.577 MB / 0.6015 GB, free: 8.594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.4426, allocations: 36.88 kB / 0.6015 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4426, allocations: 2.031 kB / 0.6015 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4426, allocations: 5.344 kB / 0.6015 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.4431, allocations: 120.8 kB / 0.6016 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4432, allocations: 4.125 kB / 0.6016 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.4435, allocations: 67.19 kB / 0.6017 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.4436, allocations: 17.69 kB / 0.6017 GB, free: 8.484 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.0002928/0.4439, allocations: 210.3 kB / 0.6019 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.444, allocations: 57.34 kB / 0.602 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.4441, allocations: 71.27 kB / 0.602 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4441, allocations: 4.344 kB / 0.6021 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.4442, allocations: 0 / 0.6021 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4442, allocations: 5.391 kB / 0.6021 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.4461, allocations: 1.197 MB / 0.6032 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4461, allocations: 0 / 0.6032 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.4466, allocations: 94.67 kB / 0.6033 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.4466, allocations: 2.219 kB / 0.6033 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.4467, allocations: 19.17 kB / 0.6033 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4467, allocations: 2.188 kB / 0.6033 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4467, allocations: 0 / 0.6033 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.4482, allocations: 0.7812 MB / 0.6041 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.4484, allocations: 166.7 kB / 0.6043 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.4485, allocations: 11.09 kB / 0.6043 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.4488, allocations: 38.06 kB / 0.6043 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.4489, allocations: 31.95 kB / 0.6043 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.4489, allocations: 17.3 kB / 0.6044 GB, free: 6.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.4493, allocations: 307.5 kB / 0.6046 GB, free: 6.445 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4493, allocations: 0 / 0.6046 GB, free: 6.445 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005011/0.4499, allocations: 141.9 kB / 0.6048 GB, free: 6.406 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.001636/0.4515, allocations: 1.341 MB / 0.6061 GB, free: 5.395 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009506/0.4525, allocations: 491.3 kB / 0.6066 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4525, allocations: 1.25 kB / 0.6066 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.4529, allocations: 227.2 kB / 0.6068 GB, free: 5.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.4537, allocations: 136.8 kB / 0.6069 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008547/0.4623, allocations: 5.249 MB / 0.612 GB, free: 1.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.4628, allocations: 0.8892 MB / 0.6129 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003407/0.4632, allocations: 60.22 kB / 0.613 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.4635, allocations: 217.8 kB / 0.6132 GB, free: 312 kB / 446.1 MB Notification: Performance of SimCode: time 2.364e-06/0.4635, allocations: 3.938 kB / 0.6132 GB, free: 308 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3322/0.7957, allocations: 10.51 MB / 0.6234 GB, free: 7.344 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.796, allocations: 193.9 kB / 0.6236 GB, free: 7.086 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.754, allocations: 0 / 0.6236 GB, free: 7.086 MB / 462.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)