Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_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.001073/0.001076, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 195.6 kB / 16.53 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.174/1.174, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.317/2.317, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.83 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2243, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00283/0.2271, allocations: 2.14 MB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003758/0.2309, allocations: 3.798 MB / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2311, allocations: 7.938 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.2313, allocations: 59.48 kB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.2316, allocations: 123.1 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.232, allocations: 151.6 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.2323, allocations: 311 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.2324, allocations: 60.69 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.2326, allocations: 143.4 kB / 1.06 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2328, allocations: 135.4 kB / 1.06 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.2328, allocations: 20 kB / 1.06 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.2331, allocations: 131.8 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.2331, allocations: 67.73 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2332, allocations: 123.3 kB / 1.06 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.2336, allocations: 330.9 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2336, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2336, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2336, allocations: 0 / 1.06 GB, free: 0.7031 MB / 0.8106 GB 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.001085/0.2347, allocations: 0.6308 MB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2347, allocations: 12.56 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.2348, allocations: 46.73 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.2357, allocations: 160.4 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.2363, allocations: 332.2 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2363, allocations: 12.31 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.2364, allocations: 12 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.237, allocations: 223.5 kB / 1.062 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.237, allocations: 0 / 1.062 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.237, allocations: 4 kB / 1.062 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.237, allocations: 0 / 1.062 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.238, allocations: 283.7 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2391, allocations: 0.5823 MB / 1.063 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.2396, allocations: 166.5 kB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.2401, allocations: 168.6 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007348/0.2409, allocations: 0.5415 MB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2409, allocations: 34.56 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2409, allocations: 4 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001543/0.2424, allocations: 481.2 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.2425, allocations: 59.41 kB / 1.064 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.2427, allocations: 272.4 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.2427, allocations: 29.7 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.2428, allocations: 144 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.2429, allocations: 47.38 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.2429, allocations: 41.59 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.2431, allocations: 338.8 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.2435, allocations: 151.8 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.244, allocations: 153.6 kB / 1.065 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009211/0.245, allocations: 288.6 kB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.245, allocations: 0 / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001054/0.246, allocations: 366.9 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.246, allocations: 4 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2461, allocations: 7.984 kB / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2461, allocations: 3.984 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.2465, allocations: 75.84 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.2465, allocations: 0 / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.2468, allocations: 47.8 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.2468, allocations: 11.98 kB / 1.066 GB, free: 10.71 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 (17): * Single equations (assignments): 17 * 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.0001132/0.247, allocations: 125.8 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.247, allocations: 23.72 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.2481, allocations: 379.2 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2482, allocations: 4 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2482, allocations: 0 / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2482, allocations: 3.938 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.2485, allocations: 301.4 kB / 1.067 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2485, allocations: 0 / 1.067 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.2488, allocations: 67.84 kB / 1.067 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2489, allocations: 4 kB / 1.067 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2489, allocations: 4 kB / 1.067 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2489, allocations: 0 / 1.067 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2489, allocations: 0 / 1.067 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.25, allocations: 454 kB / 1.067 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2501, allocations: 124.7 kB / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.2501, allocations: 0 / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.2504, allocations: 43.94 kB / 1.067 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.2505, allocations: 15.92 kB / 1.067 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.2505, allocations: 7.984 kB / 1.067 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001423/0.2507, allocations: 187.1 kB / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2507, allocations: 0 / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003104/0.251, allocations: 67.92 kB / 1.068 GB, free: 8.836 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 (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.00141/0.2524, allocations: 1.001 MB / 1.069 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.2535, allocations: 339.5 kB / 1.069 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2535, allocations: 4 kB / 1.069 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.254, allocations: 159.8 kB / 1.069 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.2545, allocations: 46.08 kB / 1.069 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.2595, allocations: 2.882 MB / 1.072 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.2597, allocations: 0.7474 MB / 1.073 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.26, allocations: 49.33 kB / 1.073 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.2601, allocations: 79.39 kB / 1.073 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2601, allocations: 0 / 1.073 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.411/5.671, allocations: 5.76 MB / 1.078 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/17.18, allocations: 10.58 kB / 1.078 GB, free: 13.8 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)