Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.436/1.436, allocations: 252 MB / 267 MB, free: 10.97 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.001092/0.001092, allocations: 178.4 kB / 326.6 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.873/1.873, allocations: 205.4 MB / 0.5776 GB, free: 20.55 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.0008991/0.0008994, allocations: 87.86 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 8.406 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 106.4 MB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001822/0.2351, allocations: 1.589 MB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00289/0.238, allocations: 3.232 MB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.2381, allocations: 0 / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.2383, allocations: 39.75 kB / 0.9051 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.2387, allocations: 119.4 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.106e-05/0.2387, allocations: 23.95 kB / 0.9052 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2389, allocations: 167.2 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.239, allocations: 21.67 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2392, allocations: 75.69 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2393, allocations: 75.62 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.2393, allocations: 4 kB / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.2394, allocations: 27.97 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.2395, allocations: 35.84 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2395, allocations: 57.52 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2396, allocations: 112 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2396, allocations: 4 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2396, allocations: 0 / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2397, allocations: 0 / 0.9057 GB, free: 58.77 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.0007787/0.2404, allocations: 0.4906 MB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2405, allocations: 8.031 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.2405, allocations: 38.56 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.2406, allocations: 23.67 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2409, allocations: 241.7 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2409, allocations: 3.938 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2409, allocations: 4 kB / 0.9065 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.2412, allocations: 149.6 kB / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2413, allocations: 0 / 0.9067 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2413, allocations: 4 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.2413, allocations: 19.94 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.2417, allocations: 155.9 kB / 0.9068 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.2424, allocations: 460.5 kB / 0.9073 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.2427, allocations: 182.5 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.243, allocations: 116.8 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.243, allocations: 7.953 kB / 0.9076 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.243, allocations: 38.5 kB / 0.9076 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.243, allocations: 0 / 0.9076 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007556/0.2438, allocations: 319.9 kB / 0.9079 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2438, allocations: 55.41 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.244, allocations: 209 kB / 0.9082 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.244, allocations: 29.7 kB / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.2441, allocations: 120.1 kB / 0.9083 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.2441, allocations: 43.36 kB / 0.9084 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/0.2441, allocations: 4 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.2442, allocations: 326.8 kB / 0.9087 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2444, allocations: 79.94 kB / 0.9087 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.2446, allocations: 88.17 kB / 0.9088 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.2448, allocations: 91.94 kB / 0.9089 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2448, allocations: 0 / 0.9089 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000467/0.2453, allocations: 233.3 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2453, allocations: 11.94 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2453, allocations: 0 / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2454, allocations: 4 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.2456, allocations: 35.97 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2456, allocations: 4 kB / 0.9092 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.2458, allocations: 23.83 kB / 0.9092 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.2458, allocations: 7.984 kB / 0.9092 GB, free: 54.98 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.661e-05/0.2459, allocations: 129.8 kB / 0.9094 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.246, allocations: 19.81 kB / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.246, allocations: 29.78 kB / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.246, allocations: 0 / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2461, allocations: 4 kB / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2461, allocations: 4 kB / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.2463, allocations: 265.4 kB / 0.9097 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2463, allocations: 4 kB / 0.9097 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.2465, allocations: 35.97 kB / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2465, allocations: 7.938 kB / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2465, allocations: 0 / 0.9097 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2466, allocations: 7.938 kB / 0.9097 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2466, allocations: 0 / 0.9097 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.2471, allocations: 337.9 kB / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.2471, allocations: 116.7 kB / 0.9101 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.2472, allocations: 8 kB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2474, allocations: 19.98 kB / 0.9102 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2474, allocations: 15.94 kB / 0.9102 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2474, allocations: 0 / 0.9102 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.138e-05/0.2475, allocations: 160.5 kB / 0.9103 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2476, allocations: 0 / 0.9103 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002393/0.2478, allocations: 36 kB / 0.9104 GB, free: 53.71 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.0007031/0.2485, allocations: 0.8723 MB / 0.9112 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.249, allocations: 187.9 kB / 0.9114 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.249, allocations: 4 kB / 0.9114 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.2492, allocations: 107.9 kB / 0.9115 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.0003856/0.2496, allocations: 28.45 kB / 0.9115 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.2514, allocations: 1.318 MB / 0.9128 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.2516, allocations: 0.7313 MB / 0.9135 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.2518, allocations: 52.58 kB / 0.9136 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.2519, allocations: 51.41 kB / 0.9136 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2519, allocations: 0 / 0.9136 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.2645, allocations: 3.515 MB / 0.9171 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.2647, allocations: 221.2 kB / 0.9173 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.135, allocations: 1.25 kB / 0.9173 GB, free: 46.71 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)