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: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001774/0.001773, allocations: 102.4 kB / 16.27 MB, free: 5.93 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.001863/0.001863, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.818/0.818, allocations: 126.7 MB / 417.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002104, allocations: 71.89 kB / 0.4959 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 78.85 MB / 0.5729 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003279/0.3447, allocations: 2.163 MB / 0.575 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00459/0.3493, allocations: 4.067 MB / 0.5789 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.3496, allocations: 8.094 kB / 0.579 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009414/0.3506, allocations: 182.8 kB / 0.5791 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.3508, allocations: 77.48 kB / 0.5792 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009769/0.3518, allocations: 289.9 kB / 0.5795 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007002/0.3525, allocations: 432.5 kB / 0.5799 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.3527, allocations: 57.59 kB / 0.5799 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.3529, allocations: 141.2 kB / 0.5801 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.3531, allocations: 156.8 kB / 0.5802 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.3532, allocations: 20.66 kB / 0.5802 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.3538, allocations: 324.8 kB / 0.5806 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.3539, allocations: 108.1 kB / 0.5807 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3541, allocations: 172.2 kB / 0.5808 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.3546, allocations: 0.5572 MB / 0.5814 GB, free: 24.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3547, allocations: 5.75 kB / 0.5814 GB, free: 24.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3547, allocations: 0 / 0.5814 GB, free: 24.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3547, allocations: 0.6875 kB / 0.5814 GB, free: 24.93 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.001281/0.356, allocations: 0.7899 MB / 0.5821 GB, free: 24.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.356, allocations: 9.156 kB / 0.5822 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.3561, allocations: 46.89 kB / 0.5822 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.3571, allocations: 185.7 kB / 0.5824 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.3579, allocations: 391.3 kB / 0.5827 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3579, allocations: 7.812 kB / 0.5828 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.3579, allocations: 11.84 kB / 0.5828 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.3586, allocations: 249.6 kB / 0.583 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3586, allocations: 0 / 0.583 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.3586, allocations: 5.375 kB / 0.583 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3587, allocations: 5.219 kB / 0.583 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.3596, allocations: 324.8 kB / 0.5833 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.361, allocations: 0.6879 MB / 0.584 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.3615, allocations: 219.6 kB / 0.5842 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.362, allocations: 183.8 kB / 0.5844 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.3621, allocations: 15.52 kB / 0.5844 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.3621, allocations: 36.41 kB / 0.5844 GB, free: 22.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3621, allocations: 0.8438 kB / 0.5844 GB, free: 22.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.001717/0.3639, allocations: 0.566 MB / 0.585 GB, free: 22.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3639, allocations: 58.41 kB / 0.585 GB, free: 22.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.3643, allocations: 434.3 kB / 0.5855 GB, free: 22.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3643, allocations: 31.05 kB / 0.5855 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.3644, allocations: 193.6 kB / 0.5857 GB, free: 21.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.3645, allocations: 40.52 kB / 0.5857 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.3646, allocations: 60.31 kB / 0.5858 GB, free: 21.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.3646, allocations: 350.9 kB / 0.5861 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.3653, allocations: 298.3 kB / 0.5864 GB, free: 21.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.3659, allocations: 296.4 kB / 0.5867 GB, free: 21.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.367, allocations: 0.5071 MB / 0.5872 GB, free: 21.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.367, allocations: 0 / 0.5872 GB, free: 21.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001368/0.3684, allocations: 0.7165 MB / 0.5879 GB, free: 20.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.3684, allocations: 44.78 kB / 0.5879 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3684, allocations: 1.062 kB / 0.5879 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3685, allocations: 7.594 kB / 0.5879 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.3689, allocations: 70.45 kB / 0.588 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.369, allocations: 1.031 kB / 0.588 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.3693, allocations: 51.33 kB / 0.588 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3694, allocations: 14.33 kB / 0.588 GB, free: 20.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.0001419/0.3695, allocations: 153.4 kB / 0.5882 GB, free: 20.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.3696, allocations: 36.56 kB / 0.5882 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.3708, allocations: 443.9 kB / 0.5886 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3708, allocations: 6.719 kB / 0.5887 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3708, allocations: 0 / 0.5887 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3708, allocations: 0 / 0.5887 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.3712, allocations: 373.2 kB / 0.589 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3712, allocations: 5.125 kB / 0.589 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.3716, allocations: 60.8 kB / 0.5891 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3716, allocations: 1.031 kB / 0.5891 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3716, allocations: 10.05 kB / 0.5891 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3717, allocations: 3.938 kB / 0.5891 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3717, allocations: 1.188 kB / 0.5891 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3728, allocations: 0.4957 MB / 0.5896 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3729, allocations: 136.3 kB / 0.5897 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.373, allocations: 5.156 kB / 0.5897 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3733, allocations: 35.64 kB / 0.5897 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.3734, allocations: 22 kB / 0.5898 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3734, allocations: 7.234 kB / 0.5898 GB, free: 19.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.3737, allocations: 298.3 kB / 0.5901 GB, free: 19.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3737, allocations: 4 kB / 0.5901 GB, free: 19.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.3742, allocations: 130.7 kB / 0.5902 GB, free: 19.15 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.001519/0.3757, allocations: 1.109 MB / 0.5913 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.3772, allocations: 0.6912 MB / 0.5919 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3772, allocations: 0 / 0.5919 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.3777, allocations: 187.8 kB / 0.5921 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.3783, allocations: 57.81 kB / 0.5922 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006146/0.3845, allocations: 5.241 MB / 0.5973 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3847, allocations: 0.7944 MB / 0.5981 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.385, allocations: 61.91 kB / 0.5981 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3852, allocations: 115.4 kB / 0.5982 GB, free: 11.35 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3852, allocations: 4 kB / 0.5982 GB, free: 11.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.4137, allocations: 9.02 MB / 0.6071 GB, free: 2.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.258, allocations: 6.562 kB / 0.6071 GB, free: 2.504 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)