Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001146, allocations: 182.7 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009384/0.0009383, allocations: 96.45 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001879/0.2531, allocations: 1.551 MB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.256, allocations: 3.027 MB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.2561, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.2563, allocations: 47.8 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.2567, allocations: 127.5 kB / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.904e-05/0.2567, allocations: 15.98 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.2569, allocations: 115.7 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.257, allocations: 29.66 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2571, allocations: 63.75 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.2573, allocations: 63.7 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.2573, allocations: 4 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.2574, allocations: 27.97 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.2574, allocations: 31.78 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.2575, allocations: 49.64 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.2576, allocations: 112 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2576, allocations: 4 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2576, allocations: 0 / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2576, allocations: 0 / 0.9053 GB, free: 58.55 MB / 0.6042 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.0007035/0.2583, allocations: 492.3 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2584, allocations: 15.97 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.2584, allocations: 34.56 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2585, allocations: 27.66 kB / 0.9058 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2588, allocations: 233.7 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2588, allocations: 4 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2588, allocations: 8 kB / 0.9061 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.2591, allocations: 149.5 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2592, allocations: 3.938 kB / 0.9062 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2592, allocations: 3.984 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.2592, allocations: 15.94 kB / 0.9062 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.2596, allocations: 147.9 kB / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.2603, allocations: 444.6 kB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.2606, allocations: 182.4 kB / 0.907 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2607, allocations: 3.984 kB / 0.907 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.2607, allocations: 38.45 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2607, allocations: 4 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.000743/0.2614, allocations: 301.5 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.2615, allocations: 51.41 kB / 0.9073 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2616, allocations: 205 kB / 0.9075 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2617, allocations: 29.7 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.2617, allocations: 131.9 kB / 0.9077 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.2618, allocations: 43.36 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.2618, allocations: 4 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.2619, allocations: 330.8 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.2621, allocations: 75.94 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.2623, allocations: 80.19 kB / 0.9082 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.2625, allocations: 90.31 kB / 0.9083 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2625, allocations: 4 kB / 0.9083 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004447/0.2629, allocations: 217.4 kB / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.263, allocations: 11.95 kB / 0.9085 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.263, allocations: 0 / 0.9085 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.263, allocations: 0 / 0.9085 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2632, allocations: 39.91 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2632, allocations: 4 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2634, allocations: 19.92 kB / 0.9086 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2634, allocations: 7.984 kB / 0.9086 GB, free: 54.94 MB / 0.6042 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 8.841e-05/0.2635, allocations: 125.8 kB / 0.9087 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.2635, allocations: 19.72 kB / 0.9087 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.2636, allocations: 29.78 kB / 0.9087 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2636, allocations: 8 kB / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2636, allocations: 0 / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2636, allocations: 0 / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.2639, allocations: 253.5 kB / 0.909 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2639, allocations: 4 kB / 0.909 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2641, allocations: 39.91 kB / 0.909 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2641, allocations: 0 / 0.909 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2641, allocations: 3.984 kB / 0.909 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2641, allocations: 3.953 kB / 0.909 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2642, allocations: 4 kB / 0.9091 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.2646, allocations: 334 kB / 0.9094 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.2647, allocations: 108.8 kB / 0.9095 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.2648, allocations: 8 kB / 0.9095 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2649, allocations: 15.98 kB / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.265, allocations: 15.94 kB / 0.9095 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.265, allocations: 8 kB / 0.9095 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.288e-05/0.2651, allocations: 156.5 kB / 0.9097 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2651, allocations: 0 / 0.9097 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002585/0.2654, allocations: 35.94 kB / 0.9097 GB, free: 53.7 MB / 0.6042 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.0006849/0.2661, allocations: 0.8644 MB / 0.9105 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.2666, allocations: 187.8 kB / 0.9107 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2666, allocations: 0 / 0.9107 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.2668, allocations: 99.86 kB / 0.9108 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2671, allocations: 24.61 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2689, allocations: 1.255 MB / 0.9121 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2691, allocations: 0.7352 MB / 0.9128 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.2692, allocations: 52.56 kB / 0.9128 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.2693, allocations: 55.91 kB / 0.9129 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2693, allocations: 0 / 0.9129 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.2838, allocations: 3.347 MB / 0.9162 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.284, allocations: 223.2 kB / 0.9164 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.973, allocations: 3.234 kB / 0.9164 GB, free: 46.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)