Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001609/0.001609, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001795/0.001795, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8288/0.8288, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 67.88 kB / 0.4959 GB, free: 2.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3421, allocations: 78.86 MB / 0.5729 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002815/0.3449, allocations: 1.861 MB / 0.5747 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.3484, allocations: 3.592 MB / 0.5782 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3485, allocations: 1.656 kB / 0.5782 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.3493, allocations: 191.4 kB / 0.5784 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3495, allocations: 78.41 kB / 0.5785 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.382e-05/0.3496, allocations: 25.97 kB / 0.5785 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.35, allocations: 262.1 kB / 0.5787 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3502, allocations: 30.08 kB / 0.5788 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3503, allocations: 79.27 kB / 0.5788 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3504, allocations: 78.38 kB / 0.5789 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.3505, allocations: 8.562 kB / 0.5789 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.3506, allocations: 26.34 kB / 0.5789 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.3506, allocations: 56.17 kB / 0.579 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.3507, allocations: 97.59 kB / 0.5791 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.3509, allocations: 182.8 kB / 0.5793 GB, free: 26.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3509, allocations: 0 / 0.5793 GB, free: 26.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3509, allocations: 4.469 kB / 0.5793 GB, free: 26.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.351, allocations: 0.8125 kB / 0.5793 GB, free: 26.48 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007778/0.3517, allocations: 0.5283 MB / 0.5798 GB, free: 25.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3518, allocations: 10.5 kB / 0.5798 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.3518, allocations: 36.19 kB / 0.5798 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.3519, allocations: 23.03 kB / 0.5798 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3522, allocations: 244.4 kB / 0.5801 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3522, allocations: 14.84 kB / 0.5801 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3522, allocations: 2.875 kB / 0.5801 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.3526, allocations: 151 kB / 0.5802 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3526, allocations: 1.344 kB / 0.5802 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.3526, allocations: 0 / 0.5802 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.3527, allocations: 12.08 kB / 0.5803 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.3531, allocations: 142.8 kB / 0.5804 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.3537, allocations: 462.8 kB / 0.5808 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.3541, allocations: 173.2 kB / 0.581 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.3544, allocations: 103 kB / 0.5811 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3544, allocations: 2.031 kB / 0.5811 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3544, allocations: 37.47 kB / 0.5811 GB, free: 24.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.3544, allocations: 0 / 0.5811 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008192/0.3553, allocations: 298.8 kB / 0.5814 GB, free: 24.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3553, allocations: 54.28 kB / 0.5815 GB, free: 24.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3555, allocations: 251.7 kB / 0.5817 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3555, allocations: 31.2 kB / 0.5817 GB, free: 24.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.3556, allocations: 134.2 kB / 0.5819 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.3556, allocations: 40.41 kB / 0.5819 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.3557, allocations: 31.5 kB / 0.5819 GB, free: 24.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.3557, allocations: 334.3 kB / 0.5823 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3559, allocations: 79.67 kB / 0.5823 GB, free: 23.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3562, allocations: 71.62 kB / 0.5824 GB, free: 23.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.3566, allocations: 168.3 kB / 0.5826 GB, free: 23.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3566, allocations: 0 / 0.5826 GB, free: 23.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006261/0.3572, allocations: 223.9 kB / 0.5828 GB, free: 23.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3573, allocations: 12.61 kB / 0.5828 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3573, allocations: 0 / 0.5828 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3573, allocations: 1.094 kB / 0.5828 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.3577, allocations: 31.38 kB / 0.5828 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3577, allocations: 4.938 kB / 0.5828 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.358, allocations: 19.98 kB / 0.5828 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.358, allocations: 7.922 kB / 0.5828 GB, free: 23.66 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 (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 prepare postOptimizeDAE: time 0.0001337/0.3582, allocations: 142.4 kB / 0.583 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.3583, allocations: 22 kB / 0.583 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.3584, allocations: 33.02 kB / 0.583 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3584, allocations: 1.938 kB / 0.583 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3584, allocations: 7.938 kB / 0.583 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3584, allocations: 0 / 0.583 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.3588, allocations: 273.1 kB / 0.5833 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3588, allocations: 0 / 0.5833 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.3591, allocations: 36.08 kB / 0.5833 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3592, allocations: 0 / 0.5833 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.3592, allocations: 5.219 kB / 0.5833 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3592, allocations: 0 / 0.5833 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3592, allocations: 3.938 kB / 0.5833 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.36, allocations: 326.9 kB / 0.5837 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3602, allocations: 111.5 kB / 0.5838 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.3602, allocations: 2.5 kB / 0.5838 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.3606, allocations: 20.72 kB / 0.5838 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.3607, allocations: 12.05 kB / 0.5838 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3607, allocations: 8.125 kB / 0.5838 GB, free: 22.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.3609, allocations: 182 kB / 0.584 GB, free: 22.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3609, allocations: 1.281 kB / 0.584 GB, free: 22.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.3614, allocations: 38.84 kB / 0.584 GB, free: 22.7 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.001111/0.3625, allocations: 0.8579 MB / 0.5849 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008207/0.3634, allocations: 191.3 kB / 0.585 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3634, allocations: 1.531 kB / 0.585 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.3638, allocations: 92.55 kB / 0.5851 GB, free: 21.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.3646, allocations: 61.75 kB / 0.5852 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.368, allocations: 2.399 MB / 0.5875 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.3682, allocations: 0.7472 MB / 0.5883 GB, free: 19.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.3684, allocations: 49.31 kB / 0.5883 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.3685, allocations: 59.62 kB / 0.5884 GB, free: 19.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3685, allocations: 0 / 0.5884 GB, free: 19.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.3963, allocations: 4.775 MB / 0.593 GB, free: 16.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.16, allocations: 2.812 kB / 0.593 GB, free: 16.87 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)