Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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: translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.00135, allocations: 101.5 kB / 16.64 MB, free: 6.777 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.001352/0.001352, allocations: 189.9 kB / 17.57 MB, free: 5.914 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.46/1.46, allocations: 222.9 MB / 241.3 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8557/0.8557, allocations: 125.3 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 0.4943 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4186, allocations: 78.57 MB / 0.571 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003402/0.422, allocations: 2.203 MB / 0.5732 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.4269, allocations: 4.029 MB / 0.5771 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.4271, allocations: 2 kB / 0.5771 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009196/0.428, allocations: 171 kB / 0.5773 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.4282, allocations: 72.67 kB / 0.5773 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.4291, allocations: 254.5 kB / 0.5776 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006676/0.4298, allocations: 445.5 kB / 0.578 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.4299, allocations: 56.55 kB / 0.5781 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.4301, allocations: 137.4 kB / 0.5782 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.4303, allocations: 160.6 kB / 0.5783 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.4304, allocations: 19.91 kB / 0.5784 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005582/0.431, allocations: 323.1 kB / 0.5787 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4311, allocations: 111.1 kB / 0.5788 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.4313, allocations: 175.7 kB / 0.5789 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.4319, allocations: 401.8 kB / 0.5793 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4319, allocations: 2.672 kB / 0.5793 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4319, allocations: 0 / 0.5793 GB, free: 25.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4319, allocations: 0.5625 kB / 0.5793 GB, free: 25.66 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001485/0.4334, allocations: 0.7919 MB / 0.5801 GB, free: 25.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4335, allocations: 14.81 kB / 0.5801 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4345, allocations: 186.2 kB / 0.5803 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.4353, allocations: 378 kB / 0.5807 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4353, allocations: 12.28 kB / 0.5807 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.4354, allocations: 11.47 kB / 0.5807 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.4361, allocations: 257 kB / 0.5809 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4361, allocations: 1.375 kB / 0.5809 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.4361, allocations: 4 kB / 0.5809 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4362, allocations: 2.75 kB / 0.5809 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.4371, allocations: 330.9 kB / 0.5812 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.4384, allocations: 0.6908 MB / 0.5819 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.439, allocations: 219.4 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.4395, allocations: 181.4 kB / 0.5823 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.4396, allocations: 20.75 kB / 0.5823 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4396, allocations: 40.12 kB / 0.5824 GB, free: 23.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.4396, allocations: 0 / 0.5824 GB, free: 23.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.001702/0.4413, allocations: 0.5624 MB / 0.5829 GB, free: 23.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.4414, allocations: 60.16 kB / 0.583 GB, free: 23.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.4418, allocations: 437.7 kB / 0.5834 GB, free: 23.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4418, allocations: 31.36 kB / 0.5834 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4419, allocations: 189.2 kB / 0.5836 GB, free: 22.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.442, allocations: 44.41 kB / 0.5836 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4421, allocations: 53.09 kB / 0.5837 GB, free: 22.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.4422, allocations: 354 kB / 0.584 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/0.4428, allocations: 290 kB / 0.5843 GB, free: 22.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.4433, allocations: 302.7 kB / 0.5846 GB, free: 22.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4445, allocations: 0.5073 MB / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4445, allocations: 0 / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001369/0.4458, allocations: 0.7162 MB / 0.5858 GB, free: 21.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.4459, allocations: 45.25 kB / 0.5858 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4459, allocations: 0 / 0.5858 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4459, allocations: 1.188 kB / 0.5858 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.4464, allocations: 62.77 kB / 0.5859 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.4464, allocations: 10.62 kB / 0.5859 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.4468, allocations: 52.75 kB / 0.5859 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.4468, allocations: 5.594 kB / 0.586 GB, free: 21.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.000182/0.447, allocations: 158.6 kB / 0.5861 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.4471, allocations: 39.59 kB / 0.5861 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.4483, allocations: 437.8 kB / 0.5866 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4483, allocations: 1.688 kB / 0.5866 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4483, allocations: 7.938 kB / 0.5866 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4484, allocations: 1.344 kB / 0.5866 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.4487, allocations: 376.3 kB / 0.5869 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4487, allocations: 1.375 kB / 0.5869 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.4491, allocations: 55.92 kB / 0.587 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4491, allocations: 1.281 kB / 0.587 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.4492, allocations: 9.391 kB / 0.587 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4492, allocations: 1.438 kB / 0.587 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4492, allocations: 7.938 kB / 0.587 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4503, allocations: 0.4965 MB / 0.5875 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4504, allocations: 135.9 kB / 0.5876 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.4505, allocations: 5.156 kB / 0.5876 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.4508, allocations: 36.33 kB / 0.5877 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.4509, allocations: 25.47 kB / 0.5877 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.4509, allocations: 7.672 kB / 0.5877 GB, free: 20.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.4512, allocations: 297.8 kB / 0.588 GB, free: 20.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4512, allocations: 0 / 0.588 GB, free: 20.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006122/0.4518, allocations: 135 kB / 0.5881 GB, free: 20.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003323/0.4522, allocations: 170.2 kB / 0.5883 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.4535, allocations: 0.6833 MB / 0.5889 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4536, allocations: 0 / 0.5889 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.4541, allocations: 192.7 kB / 0.5891 GB, free: 19.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.4547, allocations: 58.16 kB / 0.5892 GB, free: 19.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4562, allocations: 0.8225 MB / 0.59 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4564, allocations: 0.7972 MB / 0.5908 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.4566, allocations: 34.41 kB / 0.5908 GB, free: 18.24 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4566, allocations: 0 / 0.5908 GB, free: 18.24 MB / 446.1 MB Notification: Performance of Templates: time 0.007694/0.4643, allocations: 5.473 MB / 0.5961 GB, free: 13.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)