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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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: translateModel(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 111.3 kB / 17.33 MB, free: 5.043 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.001354/0.001354, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.512/1.512, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8834/0.8834, allocations: 128.4 MB / 426.1 MB, free: 7.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 72.17 kB / 0.5912 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1746, allocations: 83.26 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01166/0.1863, allocations: 7.389 MB / 0.6797 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6103/0.7966, allocations: 152.3 MB / 0.8284 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.7987, allocations: 18.41 kB / 0.8284 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.8005, allocations: 440.3 kB / 0.8288 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.8035, allocations: 0.7598 MB / 0.8296 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.8061, allocations: 1.156 MB / 0.8307 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.8098, allocations: 2.461 MB / 0.8331 GB, free: 332 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.8111, allocations: 0.7751 MB / 0.8339 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.8125, allocations: 0.9102 MB / 0.8347 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.8137, allocations: 0.9918 MB / 0.8357 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.814, allocations: 265.2 kB / 0.836 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.8152, allocations: 0.6478 MB / 0.8366 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004958/0.8157, allocations: 0.5665 MB / 0.8372 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.8167, allocations: 1.079 MB / 0.8382 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.8205, allocations: 3.171 MB / 0.8413 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8205, allocations: 0 / 0.8413 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8205, allocations: 0 / 0.8413 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.204e-05/0.8205, allocations: 0 / 0.8413 GB, free: 10.59 MB / 0.6075 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.004722/0.8253, allocations: 2.349 MB / 0.8436 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.8253, allocations: 10.56 kB / 0.8436 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005879/0.8312, allocations: 0.8774 MB / 0.8445 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.8338, allocations: 1.131 MB / 0.8456 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.8339, allocations: 120.7 kB / 0.8457 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.8342, allocations: 160.1 kB / 0.8458 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.8396, allocations: 2.069 MB / 0.8479 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.8397, allocations: 0 / 0.8479 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.8399, allocations: 67.62 kB / 0.8479 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.8399, allocations: 40.53 kB / 0.848 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006058/0.846, allocations: 2.45 MB / 0.8504 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.8578, allocations: 5.92 MB / 0.8561 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.8623, allocations: 1.622 MB / 0.8577 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/0.8643, allocations: 0.7308 MB / 0.8584 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008081/0.8651, allocations: 495.1 kB / 0.8589 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002588/0.8677, allocations: 1.077 MB / 0.86 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=139): time 3.617e-06/0.8677, allocations: 0 / 0.86 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.007875/0.8755, allocations: 2.608 MB / 0.8625 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.8757, allocations: 222.9 kB / 0.8627 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.8772, allocations: 0.9482 MB / 0.8636 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.8774, allocations: 57.7 kB / 0.8637 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006729/0.8781, allocations: 0.6577 MB / 0.8643 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/0.8786, allocations: 479.9 kB / 0.8648 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/0.8791, allocations: 262.8 kB / 0.865 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.8793, allocations: 357.9 kB / 0.8654 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.8812, allocations: 0.6936 MB / 0.8661 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.8834, allocations: 0.8281 MB / 0.8669 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.8874, allocations: 1.467 MB / 0.8683 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8874, allocations: 0 / 0.8683 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00539/0.8928, allocations: 1.844 MB / 0.8701 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.8928, allocations: 8 kB / 0.8701 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.8928, allocations: 0 / 0.8701 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.8935, allocations: 92.77 kB / 0.8702 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.8954, allocations: 347.5 kB / 0.8705 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.8978, allocations: 1.639 MB / 0.8721 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.8997, allocations: 217.7 kB / 0.8723 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.8998, allocations: 59.94 kB / 0.8724 GB, free: 14.31 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (161): * Single equations (assignments): 160 * 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.001065/0.9009, allocations: 408.1 kB / 0.8728 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/0.9012, allocations: 135.2 kB / 0.8729 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/0.9073, allocations: 2.218 MB / 0.8751 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.9073, allocations: 16 kB / 0.8751 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.9073, allocations: 7.938 kB / 0.8751 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.9073, allocations: 7.969 kB / 0.8751 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.91, allocations: 1.797 MB / 0.8769 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.91, allocations: 8 kB / 0.8769 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.9118, allocations: 307.6 kB / 0.8772 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.9122, allocations: 72.78 kB / 0.8772 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.9124, allocations: 51.89 kB / 0.8773 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.9145, allocations: 1.674 MB / 0.8789 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9145, allocations: 4 kB / 0.8789 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/0.9201, allocations: 1.934 MB / 0.8808 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009631/0.921, allocations: 443.8 kB / 0.8812 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.9213, allocations: 39.89 kB / 0.8813 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.9228, allocations: 147.8 kB / 0.8814 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.9232, allocations: 113.1 kB / 0.8815 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.9233, allocations: 68 kB / 0.8816 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001213/0.9245, allocations: 0.6868 MB / 0.8823 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.9245, allocations: 0 / 0.8823 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001919/0.9265, allocations: 0.522 MB / 0.8828 GB, free: 3.418 MB / 0.6387 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.002201/0.9287, allocations: 0.6388 MB / 0.8834 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005939/0.9346, allocations: 1.755 MB / 0.8851 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.9346, allocations: 0 / 0.8851 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003007/0.9376, allocations: 0.9899 MB / 0.8861 GB, free: 192 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.9405, allocations: 390.3 kB / 0.8865 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/0.9486, allocations: 3.111 MB / 0.8895 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.9496, allocations: 1.284 MB / 0.8907 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002041/0.9516, allocations: 398.4 kB / 0.8911 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.9522, allocations: 171.3 kB / 0.8913 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.9522, allocations: 0 / 0.8913 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.05313/1.005, allocations: 25.81 MB / 0.9165 GB, free: 1.191 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480]