Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.747/2.747, allocations: 287.5 MB / 302.4 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 179 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008695/0.0008694, allocations: 96.16 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004842, allocations: 11.81 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002252/0.2231, allocations: 1.582 MB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.2274, allocations: 3.217 MB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.2276, allocations: 0 / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.2278, allocations: 47.69 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.2283, allocations: 111.4 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.791e-05/0.2284, allocations: 27.91 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.2287, allocations: 159.3 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2288, allocations: 25.62 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.229, allocations: 75.62 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2291, allocations: 67.69 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.2292, allocations: 4 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.2293, allocations: 27.91 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.2294, allocations: 31.91 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.2294, allocations: 53.58 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2296, allocations: 99.75 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2296, allocations: 8 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2296, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2297, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB 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.0009661/0.2306, allocations: 0.4944 MB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2307, allocations: 16.02 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.2307, allocations: 34.56 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.2308, allocations: 19.77 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.2312, allocations: 241.7 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2312, allocations: 0 / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.2313, allocations: 8 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.2318, allocations: 145.5 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2318, allocations: 0 / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2318, allocations: 0 / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.2319, allocations: 15.95 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007168/0.2326, allocations: 147.9 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.2335, allocations: 464.4 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.2341, allocations: 174.5 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.2346, allocations: 100.8 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2346, allocations: 15.94 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.2347, allocations: 38.55 kB / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/0.2347, allocations: 0 / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001319/0.236, allocations: 302.7 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.236, allocations: 55.41 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.2363, allocations: 213 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2363, allocations: 25.7 kB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.2364, allocations: 124 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.2364, allocations: 39.39 kB / 0.9864 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.2365, allocations: 0 / 0.9864 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.2365, allocations: 330.8 kB / 0.9867 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.2369, allocations: 79.94 kB / 0.9868 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.2373, allocations: 80.92 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.2377, allocations: 79.95 kB / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2378, allocations: 0 / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008579/0.2386, allocations: 234.6 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2387, allocations: 15.89 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.2387, allocations: 0 / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2387, allocations: 0 / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.2391, allocations: 43.95 kB / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2391, allocations: 0 / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.2394, allocations: 19.98 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2394, allocations: 4 kB / 0.9873 GB, free: 18.99 MB / 0.6198 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.2396, allocations: 133.8 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.2396, allocations: 23.66 kB / 0.9874 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.2397, allocations: 29.78 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2397, allocations: 4 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2397, allocations: 0 / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2398, allocations: 0 / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2401, allocations: 257.5 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2401, allocations: 0 / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.2405, allocations: 43.97 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2405, allocations: 4 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2405, allocations: 0 / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2405, allocations: 3.953 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2406, allocations: 0 / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.2415, allocations: 327.9 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.2416, allocations: 104.8 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.2416, allocations: 4 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.2419, allocations: 19.98 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.242, allocations: 19.91 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.242, allocations: 4 kB / 0.9882 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001421/0.2422, allocations: 156.5 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2422, allocations: 0 / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003626/0.2426, allocations: 31.98 kB / 0.9884 GB, free: 17.76 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.2437, allocations: 0.8616 MB / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008343/0.2446, allocations: 184.7 kB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2446, allocations: 0 / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.245, allocations: 95.88 kB / 0.9895 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.2455, allocations: 28.61 kB / 0.9895 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.2484, allocations: 1.287 MB / 0.9908 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.2486, allocations: 0.7313 MB / 0.9915 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.2489, allocations: 40.61 kB / 0.9915 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2491, allocations: 55.41 kB / 0.9916 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2491, allocations: 0 / 0.9916 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2711, allocations: 3.373 MB / 0.9949 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.2714, allocations: 213.3 kB / 0.9951 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/2.932, allocations: 0 / 0.9951 GB, free: 10.96 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)