Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 106.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.136/1.136, allocations: 175.8 MB / 478.4 MB, free: 8.461 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 68.39 kB / 0.6652 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.267, allocations: 94.53 MB / 0.7575 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.5516/0.8186, allocations: 4.123 MB / 0.7615 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003607/0.8223, allocations: 1.326 MB / 0.7628 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007402/0.823, allocations: 26.31 kB / 0.7628 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.8234, allocations: 125.2 kB / 0.763 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.8239, allocations: 188 kB / 0.7631 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.8251, allocations: 414.2 kB / 0.7635 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.8264, allocations: 0.9565 MB / 0.7645 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.827, allocations: 315.1 kB / 0.7648 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.8275, allocations: 333.5 kB / 0.7651 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.828, allocations: 336.2 kB / 0.7654 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.8281, allocations: 91.28 kB / 0.7655 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.8283, allocations: 90.62 kB / 0.7656 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.8284, allocations: 180.4 kB / 0.7657 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.8288, allocations: 387 kB / 0.7661 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.8302, allocations: 1.07 MB / 0.7672 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.8302, allocations: 6.219 kB / 0.7672 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8302, allocations: 0 / 0.7672 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.8303, allocations: 0 / 0.7672 GB, free: 4.922 MB / 0.5762 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.002063/0.8323, allocations: 1.101 MB / 0.7682 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.8324, allocations: 9.125 kB / 0.7682 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.8325, allocations: 97.98 kB / 0.7683 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.8327, allocations: 89.55 kB / 0.7684 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.8337, allocations: 0.5624 MB / 0.769 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.8338, allocations: 46.88 kB / 0.769 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.8339, allocations: 60.95 kB / 0.7691 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.8351, allocations: 0.6094 MB / 0.7697 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.8351, allocations: 5.656 kB / 0.7697 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.8352, allocations: 21.41 kB / 0.7697 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.8352, allocations: 14.5 kB / 0.7697 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.8363, allocations: 459.6 kB / 0.7702 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.8398, allocations: 2 MB / 0.7721 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.8408, allocations: 420.5 kB / 0.7725 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.8413, allocations: 223.6 kB / 0.7727 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.8414, allocations: 5.438 kB / 0.7727 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006217/0.842, allocations: 266 kB / 0.773 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=49): time 3.256e-06/0.842, allocations: 3.938 kB / 0.773 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49): time 0.001397/0.8434, allocations: 0.5856 MB / 0.7736 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.8434, allocations: 61.12 kB / 0.7736 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.844, allocations: 441.8 kB / 0.774 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.844, allocations: 37.69 kB / 0.7741 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.8443, allocations: 336.2 kB / 0.7744 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.8445, allocations: 175.1 kB / 0.7746 GB, free: 492 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.8446, allocations: 91.47 kB / 0.7746 GB, free: 440 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8448, allocations: 367 kB / 0.775 GB, free: 96 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.8452, allocations: 165.2 kB / 0.7752 GB, free: 32 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.8457, allocations: 249 kB / 0.7754 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.8466, allocations: 456.7 kB / 0.7758 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8466, allocations: 0 / 0.7758 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001195/0.8478, allocations: 0.5657 MB / 0.7764 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.8478, allocations: 32.94 kB / 0.7764 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8478, allocations: 7.156 kB / 0.7764 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.8479, allocations: 3.5 kB / 0.7764 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.8484, allocations: 117.1 kB / 0.7765 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.8484, allocations: 6.359 kB / 0.7765 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.8488, allocations: 60.95 kB / 0.7766 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.8489, allocations: 19.39 kB / 0.7766 GB, free: 15.24 MB / 0.5919 GB 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.0003458/0.8492, allocations: 208.1 kB / 0.7768 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.8493, allocations: 63.83 kB / 0.7769 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.8494, allocations: 66.03 kB / 0.7769 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8494, allocations: 5.656 kB / 0.7769 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8494, allocations: 1.75 kB / 0.7769 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.8495, allocations: 2.719 kB / 0.7769 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.8517, allocations: 1.187 MB / 0.7781 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8517, allocations: 0 / 0.7781 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.8521, allocations: 89.98 kB / 0.7782 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.8521, allocations: 2.594 kB / 0.7782 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.8522, allocations: 11.72 kB / 0.7782 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.8522, allocations: 2.5 kB / 0.7782 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8522, allocations: 0 / 0.7782 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.8537, allocations: 0.7666 MB / 0.779 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.8539, allocations: 182.6 kB / 0.7791 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.854, allocations: 11.34 kB / 0.7791 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.8543, allocations: 23.44 kB / 0.7792 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8544, allocations: 34.28 kB / 0.7792 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.8544, allocations: 16.58 kB / 0.7792 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004554/0.8549, allocations: 310.9 kB / 0.7795 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.8549, allocations: 0 / 0.7795 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005666/0.8555, allocations: 139.5 kB / 0.7796 GB, free: 13.52 MB / 0.5919 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.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.001941/0.8574, allocations: 1.326 MB / 0.7809 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.8585, allocations: 459.8 kB / 0.7814 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8585, allocations: 0 / 0.7814 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.859, allocations: 205.2 kB / 0.7816 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.8598, allocations: 159.3 kB / 0.7817 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.8702, allocations: 4.817 MB / 0.7864 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.8712, allocations: 0.8872 MB / 0.7873 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004876/0.8717, allocations: 70.12 kB / 0.7874 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.8721, allocations: 218.2 kB / 0.7876 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of SimCode: time 1.874e-06/0.8721, allocations: 0 / 0.7876 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05255/0.9247, allocations: 11.36 MB / 0.7987 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.225/10.15, allocations: 17.84 kB / 0.7987 GB, free: 5.578 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.587095689959824] Failed to read output from testmodel.py, exit status != 0: 10.230718054343015 10.252515838 9.418000061 Calling exit ...