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.47/1.47, allocations: 252 MB / 267.3 MB, free: 10.86 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.001414/0.001414, allocations: 170.6 kB / 327 MB, free: 2.117 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.915/1.915, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008802/0.0008802, allocations: 81.62 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 8.969 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002012/0.2543, allocations: 1.624 MB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.2578, allocations: 3.378 MB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.2579, allocations: 0 / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.2582, allocations: 48.03 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.2586, allocations: 119.4 kB / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.093e-05/0.2587, allocations: 23.97 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2588, allocations: 175.2 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.259, allocations: 37.59 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.2591, allocations: 71.64 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.2593, allocations: 71.62 kB / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.2593, allocations: 4 kB / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.2594, allocations: 27.92 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.2595, allocations: 27.84 kB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.2596, allocations: 109.2 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2597, allocations: 151.3 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2597, allocations: 3.938 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2598, allocations: 0 / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2598, allocations: 0 / 0.9066 GB, free: 57.51 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.0007132/0.2605, allocations: 494.6 kB / 0.9071 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2605, allocations: 8.031 kB / 0.9071 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.2606, allocations: 46.67 kB / 0.9072 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.2606, allocations: 20.66 kB / 0.9072 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.2609, allocations: 238.9 kB / 0.9074 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2609, allocations: 4.375 kB / 0.9074 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.261, allocations: 8.375 kB / 0.9074 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.2613, allocations: 141.5 kB / 0.9076 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2613, allocations: 0 / 0.9076 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.2613, allocations: 0 / 0.9076 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.2614, allocations: 23.92 kB / 0.9076 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.2618, allocations: 151.9 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.2624, allocations: 444.5 kB / 0.9081 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.2627, allocations: 178.4 kB / 0.9083 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.263, allocations: 112.8 kB / 0.9084 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.263, allocations: 4 kB / 0.9084 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.263, allocations: 30.56 kB / 0.9085 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.263, allocations: 0 / 0.9085 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007617/0.2638, allocations: 305.7 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.2638, allocations: 55.41 kB / 0.9088 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.264, allocations: 213 kB / 0.909 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.264, allocations: 25.7 kB / 0.909 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.2641, allocations: 128 kB / 0.9092 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.2641, allocations: 47.23 kB / 0.9092 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.2641, allocations: 4 kB / 0.9092 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.2642, allocations: 342.8 kB / 0.9095 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.2644, allocations: 71.94 kB / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.2646, allocations: 83.94 kB / 0.9097 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.265, allocations: 170.2 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.265, allocations: 0 / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004564/0.2655, allocations: 225.4 kB / 0.9101 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2655, allocations: 7.938 kB / 0.9101 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2656, allocations: 0 / 0.9101 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2656, allocations: 0 / 0.9101 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2658, allocations: 47.89 kB / 0.9101 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2658, allocations: 4 kB / 0.9101 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.266, allocations: 19.98 kB / 0.9101 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.266, allocations: 3.938 kB / 0.9101 GB, free: 53.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.156e-05/0.2661, allocations: 129.8 kB / 0.9103 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.2662, allocations: 19.72 kB / 0.9103 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.2662, allocations: 29.83 kB / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2662, allocations: 0 / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2662, allocations: 0 / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2663, allocations: 7.984 kB / 0.9103 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.2665, allocations: 257.4 kB / 0.9106 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2665, allocations: 3.984 kB / 0.9106 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.2667, allocations: 39.91 kB / 0.9106 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2667, allocations: 0 / 0.9106 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2667, allocations: 12 kB / 0.9106 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2667, allocations: 0 / 0.9106 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2667, allocations: 0 / 0.9106 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.2672, allocations: 325.8 kB / 0.9109 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.2673, allocations: 108.9 kB / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.2674, allocations: 0 / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2675, allocations: 19.98 kB / 0.911 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.2676, allocations: 15.97 kB / 0.9111 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.2676, allocations: 7.938 kB / 0.9111 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.335e-05/0.2677, allocations: 160.4 kB / 0.9112 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2677, allocations: 0 / 0.9112 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002563/0.268, allocations: 40 kB / 0.9113 GB, free: 52.45 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 (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.000755/0.2688, allocations: 0.8605 MB / 0.9121 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.2692, allocations: 183.8 kB / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2692, allocations: 0 / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2695, allocations: 102.1 kB / 0.9124 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.2699, allocations: 34.64 kB / 0.9124 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.2725, allocations: 2.358 MB / 0.9147 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.2727, allocations: 0.7391 MB / 0.9154 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.2729, allocations: 44.61 kB / 0.9155 GB, free: 48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.273, allocations: 47.41 kB / 0.9155 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.473e-06/0.273, allocations: 0 / 0.9155 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.286, allocations: 3.376 MB / 0.9188 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.2862, allocations: 227 kB / 0.919 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.179, allocations: 0 / 0.919 GB, free: 44.52 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)