Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.00205/0.00205, allocations: 107.6 kB / 15.99 MB, free: 6.355 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.002217/0.002217, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8231/0.8231, allocations: 126.7 MB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 59.91 kB / 0.4954 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2935, allocations: 78.85 MB / 0.5724 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006977/0.3005, allocations: 7.314 MB / 0.5795 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1577/0.4582, allocations: 149.5 MB / 0.7255 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.4598, allocations: 19.88 kB / 0.7256 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.4614, allocations: 369.8 kB / 0.7259 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.4638, allocations: 0.6695 MB / 0.7266 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.4662, allocations: 1.02 MB / 0.7276 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.4691, allocations: 2.458 MB / 0.73 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.4707, allocations: 1.157 MB / 0.7311 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.4718, allocations: 0.9033 MB / 0.732 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.4729, allocations: 0.9999 MB / 0.7329 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.4732, allocations: 268 kB / 0.7332 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.4743, allocations: 0.609 MB / 0.7338 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.4748, allocations: 0.5725 MB / 0.7344 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009631/0.4758, allocations: 1.077 MB / 0.7354 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003116/0.4789, allocations: 3.108 MB / 0.7384 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4789, allocations: 0 / 0.7384 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4789, allocations: 4 kB / 0.7384 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.479, allocations: 0 / 0.7384 GB, free: 11.34 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004492/0.4835, allocations: 2.289 MB / 0.7407 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.4835, allocations: 8.031 kB / 0.7407 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002894/0.4838, allocations: 236.7 kB / 0.7409 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006169/0.49, allocations: 0.8686 MB / 0.7418 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.4916, allocations: 1.105 MB / 0.7428 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.4918, allocations: 119.3 kB / 0.743 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.492, allocations: 159.9 kB / 0.7431 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004633/0.4967, allocations: 2.063 MB / 0.7451 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.4967, allocations: 0 / 0.7451 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.4969, allocations: 64 kB / 0.7452 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.4969, allocations: 43.98 kB / 0.7452 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00647/0.5034, allocations: 2.456 MB / 0.7476 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2288/0.7323, allocations: 5.96 MB / 0.7534 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/0.7364, allocations: 1.709 MB / 0.7551 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.7383, allocations: 0.7981 MB / 0.7559 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.739, allocations: 494 kB / 0.7564 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002667/0.7416, allocations: 1.074 MB / 0.7574 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=139): time 3.417e-06/0.7416, allocations: 0 / 0.7574 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.007224/0.7489, allocations: 2.619 MB / 0.76 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.7489, allocations: 225.2 kB / 0.7602 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.75, allocations: 0.939 MB / 0.7611 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.7501, allocations: 56.14 kB / 0.7612 GB, free: 162 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.7505, allocations: 0.656 MB / 0.7618 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.7507, allocations: 446.3 kB / 0.7622 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.7512, allocations: 249 kB / 0.7625 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.7512, allocations: 352.9 kB / 0.7628 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.753, allocations: 0.6721 MB / 0.7635 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.7548, allocations: 0.8241 MB / 0.7643 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00344/0.7582, allocations: 1.442 MB / 0.7657 GB, free: 159 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7583, allocations: 0 / 0.7657 GB, free: 159 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004559/0.7628, allocations: 1.796 MB / 0.7674 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7628, allocations: 5.125 kB / 0.7674 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.7629, allocations: 1.531 kB / 0.7674 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.7635, allocations: 91.2 kB / 0.7675 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.7652, allocations: 336 kB / 0.7678 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.7669, allocations: 1.659 MB / 0.7695 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.7684, allocations: 212.2 kB / 0.7697 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.7686, allocations: 57.05 kB / 0.7697 GB, free: 156.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006008/0.7692, allocations: 405 kB / 0.7701 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.7694, allocations: 128.9 kB / 0.7702 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/0.7749, allocations: 2.227 MB / 0.7724 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.7749, allocations: 14.34 kB / 0.7724 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7749, allocations: 5.281 kB / 0.7724 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.7749, allocations: 7.969 kB / 0.7724 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.7766, allocations: 1.806 MB / 0.7742 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.7766, allocations: 0 / 0.7742 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.7783, allocations: 316.1 kB / 0.7745 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.7787, allocations: 83.47 kB / 0.7746 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.7788, allocations: 46.39 kB / 0.7746 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.7802, allocations: 1.674 MB / 0.7762 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7802, allocations: 0 / 0.7762 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/0.7844, allocations: 1.924 MB / 0.7781 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.7849, allocations: 442.4 kB / 0.7785 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.7851, allocations: 41.34 kB / 0.7786 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.7866, allocations: 157.3 kB / 0.7787 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.7868, allocations: 110 kB / 0.7788 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.7869, allocations: 66.22 kB / 0.7789 GB, free: 150 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006765/0.7876, allocations: 0.6905 MB / 0.7796 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7876, allocations: 0 / 0.7796 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001048/0.7887, allocations: 0.5128 MB / 0.7801 GB, free: 148.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006213/0.7949, allocations: 3.017 MB / 0.783 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005915/0.8008, allocations: 2.142 MB / 0.7851 GB, free: 144 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8008, allocations: 3.938 kB / 0.7851 GB, free: 144 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.8029, allocations: 1.053 MB / 0.7861 GB, free: 143 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.8044, allocations: 393 kB / 0.7865 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/0.8252, allocations: 12.72 MB / 0.7989 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.8258, allocations: 1.28 MB / 0.8002 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00174/0.8275, allocations: 405 kB / 0.8006 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009013/0.8284, allocations: 0.6828 MB / 0.8012 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.8284, allocations: 3.938 kB / 0.8013 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.51/3.339, allocations: 34.93 MB / 0.8354 GB, free: 92.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/3.339, allocations: 299.2 kB / 0.8357 GB, free: 92.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.464/6.803, allocations: 3.938 kB / 0.8357 GB, free: 92.27 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)