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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8125/0.8125, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.3 MB / 400.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009233/0.0009234, allocations: 101.4 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.025e-05/5.027e-05, allocations: 8.594 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 82.29 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6698/0.8544, allocations: 117.9 MB / 0.7556 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.8546, allocations: 74.62 kB / 0.7557 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02809/0.8827, allocations: 12.36 MB / 0.7677 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8828, allocations: 0 / 0.7677 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.571e-05/0.8828, allocations: 11.5 kB / 0.7678 GB, free: 23.14 MB / 0.5105 GB 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.001763/0.8846, allocations: 0.8783 MB / 0.7686 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.8847, allocations: 7.844 kB / 0.7686 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000217/0.8849, allocations: 109.3 kB / 0.7687 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.8851, allocations: 81.66 kB / 0.7688 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009267/0.8861, allocations: 0.5333 MB / 0.7693 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.8861, allocations: 45.16 kB / 0.7694 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.8862, allocations: 57.91 kB / 0.7694 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.8873, allocations: 0.6021 MB / 0.77 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.8874, allocations: 3.906 kB / 0.77 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.8874, allocations: 32.56 kB / 0.77 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.8875, allocations: 23.48 kB / 0.7701 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.8882, allocations: 420.8 kB / 0.7705 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.8917, allocations: 2.096 MB / 0.7725 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.8924, allocations: 430.5 kB / 0.7729 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.8928, allocations: 217.1 kB / 0.7731 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.8929, allocations: 4.438 kB / 0.7731 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.8933, allocations: 255.4 kB / 0.7734 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 3.617e-06/0.8934, allocations: 0 / 0.7734 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.0007772/0.8941, allocations: 428.6 kB / 0.7738 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.8943, allocations: 166.7 kB / 0.774 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.8948, allocations: 392.9 kB / 0.7743 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.8949, allocations: 36.08 kB / 0.7744 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.8951, allocations: 318.3 kB / 0.7747 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.8953, allocations: 170.2 kB / 0.7748 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.8953, allocations: 11.06 kB / 0.7748 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.8955, allocations: 363.3 kB / 0.7752 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.8958, allocations: 157.5 kB / 0.7753 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.8961, allocations: 263.4 kB / 0.7756 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.8965, allocations: 210 kB / 0.7758 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.8965, allocations: 4 kB / 0.7758 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008794/0.8974, allocations: 0.5253 MB / 0.7763 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.8974, allocations: 37.39 kB / 0.7763 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8975, allocations: 4 kB / 0.7763 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.8975, allocations: 7.984 kB / 0.7763 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.898, allocations: 127.1 kB / 0.7765 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.898, allocations: 4 kB / 0.7765 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.8985, allocations: 85.98 kB / 0.7766 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.8985, allocations: 15.5 kB / 0.7766 GB, free: 17.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.8987, allocations: 143.9 kB / 0.7767 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.8988, allocations: 59.3 kB / 0.7768 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.8989, allocations: 66.98 kB / 0.7768 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.8989, allocations: 4 kB / 0.7768 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.899, allocations: 4 kB / 0.7768 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.899, allocations: 7.984 kB / 0.7768 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.9005, allocations: 1.218 MB / 0.778 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9006, allocations: 0 / 0.778 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.9011, allocations: 111.8 kB / 0.7781 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.9011, allocations: 0 / 0.7781 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.9011, allocations: 18.92 kB / 0.7782 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.9011, allocations: 4 kB / 0.7782 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9011, allocations: 0 / 0.7782 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.9021, allocations: 0.7479 MB / 0.7789 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.9023, allocations: 177.9 kB / 0.7791 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.9024, allocations: 12.69 kB / 0.7791 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.9028, allocations: 57.05 kB / 0.7791 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/0.9029, allocations: 39.25 kB / 0.7792 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.9029, allocations: 11.44 kB / 0.7792 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003156/0.9033, allocations: 312.9 kB / 0.7795 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9033, allocations: 3.938 kB / 0.7795 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004603/0.9037, allocations: 153.8 kB / 0.7796 GB, free: 15.38 MB / 0.5105 GB 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.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.905, allocations: 1.315 MB / 0.7809 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006622/0.9057, allocations: 465.7 kB / 0.7814 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9057, allocations: 10.62 kB / 0.7814 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.906, allocations: 208.4 kB / 0.7816 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.9067, allocations: 131.9 kB / 0.7817 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.9096, allocations: 1.38 MB / 0.783 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.9102, allocations: 0.906 MB / 0.7839 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.9105, allocations: 60.53 kB / 0.784 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.9108, allocations: 222.9 kB / 0.7842 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.9109, allocations: 0 / 0.7842 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.9401, allocations: 11.46 MB / 0.7954 GB, free: 104 kB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.9404, allocations: 144.1 kB / 0.7955 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.287, allocations: 0 / 0.7955 GB, free: 15.88 MB / 0.5261 GB (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/linux/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)