Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.0009671/0.0009671, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.001121/0.001121, allocations: 172.2 kB / 16.26 MB, free: 6.664 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 7.875 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2428, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001994/0.2448, allocations: 1.72 MB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.2486, allocations: 3.63 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.2488, allocations: 3.938 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.249, allocations: 43.75 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.2493, allocations: 99.41 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.2496, allocations: 103.8 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.2499, allocations: 239.1 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.25, allocations: 48.36 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.2502, allocations: 99.61 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2503, allocations: 107.4 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.2504, allocations: 8 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.2506, allocations: 111.8 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.2506, allocations: 35.83 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.2507, allocations: 109.2 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.251, allocations: 263 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.251, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.251, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.251, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001007/0.252, allocations: 0.5764 MB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2521, allocations: 11.97 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.2521, allocations: 50.67 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.2522, allocations: 24.66 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.2526, allocations: 275.6 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2526, allocations: 8.375 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.2526, allocations: 4.375 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.2531, allocations: 197.4 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2531, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.2532, allocations: 8 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2532, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.2539, allocations: 233 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007848/0.2547, allocations: 496.4 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.2551, allocations: 150.5 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.2555, allocations: 128.8 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00085/0.2563, allocations: 0.5766 MB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.2564, allocations: 34.56 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.2564, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001266/0.2576, allocations: 421.2 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.2577, allocations: 59.34 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.2579, allocations: 234.7 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2579, allocations: 29.64 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.258, allocations: 144 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.2581, allocations: 35.47 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2581, allocations: 17.7 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2582, allocations: 330.8 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.2586, allocations: 115.9 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.259, allocations: 119.9 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/0.2597, allocations: 241.3 kB / 1.07 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2597, allocations: 0 / 1.07 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008253/0.2605, allocations: 309.1 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2606, allocations: 4 kB / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2606, allocations: 0 / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2606, allocations: 4 kB / 1.07 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.2609, allocations: 63.94 kB / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2609, allocations: 3.938 kB / 1.07 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.2612, allocations: 35.91 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2612, allocations: 11.92 kB / 1.07 GB, free: 9.027 MB / 0.8262 GB 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 (11): * Single equations (assignments): 11 * 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.000113/0.2613, allocations: 125.8 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2614, allocations: 19.72 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00091/0.2623, allocations: 327.1 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2623, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2623, allocations: 7.938 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2623, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2626, allocations: 281.4 kB / 1.071 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2626, allocations: 4 kB / 1.071 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.2629, allocations: 47.95 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2629, allocations: 4 kB / 1.071 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.263, allocations: 3.984 kB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.263, allocations: 0 / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.263, allocations: 11.81 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.2638, allocations: 399.2 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.2639, allocations: 116.7 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.264, allocations: 4 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2642, allocations: 39.95 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.2643, allocations: 15.92 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2643, allocations: 7.984 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001299/0.2644, allocations: 166 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2645, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003093/0.2648, allocations: 52 kB / 1.072 GB, free: 7.336 MB / 0.8262 GB 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 (11): * Single equations (assignments): 11 * 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.001221/0.266, allocations: 0.9697 MB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007906/0.2668, allocations: 259.7 kB / 1.073 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2668, allocations: 3.938 kB / 1.073 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.2672, allocations: 136.5 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.2676, allocations: 33.23 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.2714, allocations: 2.644 MB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2717, allocations: 0.7316 MB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.2719, allocations: 40.84 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.272, allocations: 63.41 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.272, allocations: 0 / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5075/0.7795, allocations: 4.417 MB / 1.081 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.7798, allocations: 229.1 kB / 1.081 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.724, allocations: 4.062 kB / 1.081 GB, free: 13.84 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)