Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",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.00794/0.00794, allocations: 102.1 kB / 15.73 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 202 kB / 16.68 MB, free: 5.445 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.042/1.042, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 71.88 kB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4363, allocations: 82.02 MB / 0.6754 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008704/0.445, allocations: 6.626 MB / 0.6819 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007841/0.4529, allocations: 3.875 MB / 0.6856 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.4547, allocations: 31.5 kB / 0.6857 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.4559, allocations: 233.6 kB / 0.6859 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.4578, allocations: 414.3 kB / 0.6863 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.4603, allocations: 0.7605 MB / 0.687 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.4635, allocations: 1.957 MB / 0.6889 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.465, allocations: 0.68 MB / 0.6896 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.4665, allocations: 0.7331 MB / 0.6903 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.4683, allocations: 0.8372 MB / 0.6911 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006807/0.469, allocations: 186.7 kB / 0.6913 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.4704, allocations: 468 kB / 0.6918 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008714/0.4713, allocations: 442.1 kB / 0.6922 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.4729, allocations: 0.8133 MB / 0.693 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.4761, allocations: 2.234 MB / 0.6952 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4761, allocations: 0 / 0.6952 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.857e-06/0.4761, allocations: 0 / 0.6952 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.154e-05/0.4761, allocations: 3.938 kB / 0.6952 GB, free: 1.922 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004368/0.4805, allocations: 2.173 MB / 0.6973 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4806, allocations: 12.03 kB / 0.6973 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.4808, allocations: 177.2 kB / 0.6975 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.4813, allocations: 191.8 kB / 0.6977 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.4828, allocations: 0.8932 MB / 0.6985 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.4831, allocations: 268.3 kB / 0.6988 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.4833, allocations: 108 kB / 0.6989 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.4861, allocations: 1.376 MB / 0.7002 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.4862, allocations: 0 / 0.7002 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.4863, allocations: 44 kB / 0.7003 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.4864, allocations: 31.94 kB / 0.7003 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/0.4893, allocations: 1.253 MB / 0.7015 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007176/0.4965, allocations: 4.5 MB / 0.7059 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.4989, allocations: 1.158 MB / 0.7071 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5005, allocations: 0.7509 MB / 0.7078 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006844/0.5012, allocations: 0.5308 MB / 0.7083 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.5028, allocations: 0.7155 MB / 0.709 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=115): time 3.857e-06/0.5028, allocations: 4 kB / 0.709 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=115): time 0.01195/0.5148, allocations: 3.415 MB / 0.7123 GB, free: 15.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.515, allocations: 282 kB / 0.7126 GB, free: 15.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.5171, allocations: 1.066 MB / 0.7137 GB, free: 14.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.5173, allocations: 45.7 kB / 0.7137 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.5179, allocations: 0.5955 MB / 0.7143 GB, free: 13.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005369/0.5185, allocations: 396.6 kB / 0.7147 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.519, allocations: 190.6 kB / 0.7148 GB, free: 12.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5192, allocations: 345.9 kB / 0.7152 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.5206, allocations: 0.5098 MB / 0.7157 GB, free: 12.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.5223, allocations: 0.6576 MB / 0.7163 GB, free: 11.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.5255, allocations: 1.505 MB / 0.7178 GB, free: 9.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.5255, allocations: 4 kB / 0.7178 GB, free: 9.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00664/0.5322, allocations: 2.15 MB / 0.7199 GB, free: 7.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.5324, allocations: 207.9 kB / 0.7201 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006274/0.5387, allocations: 2.031 MB / 0.7221 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5401, allocations: 434.2 kB / 0.7225 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.5409, allocations: 139.8 kB / 0.7226 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.5533, allocations: 6.864 MB / 0.7293 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.5548, allocations: 123.3 kB / 0.7294 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/0.5551, allocations: 47.97 kB / 0.7295 GB, free: 13.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001149/0.5563, allocations: 0.5037 MB / 0.73 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/0.5568, allocations: 143.2 kB / 0.7301 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00689/0.5637, allocations: 2.206 MB / 0.7323 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.5638, allocations: 8 kB / 0.7323 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.5638, allocations: 4 kB / 0.7323 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.5639, allocations: 11.97 kB / 0.7323 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.5663, allocations: 1.349 MB / 0.7336 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00648/0.5728, allocations: 2.014 MB / 0.7356 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.5735, allocations: 111.9 kB / 0.7357 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.5748, allocations: 430.4 kB / 0.7361 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002865/0.5751, allocations: 35.97 kB / 0.7361 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/0.5876, allocations: 6.833 MB / 0.7428 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5876, allocations: 3.938 kB / 0.7428 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007211/0.5948, allocations: 2.204 MB / 0.7449 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008765/0.5957, allocations: 371.8 kB / 0.7453 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/0.5961, allocations: 23.98 kB / 0.7453 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.5972, allocations: 55.95 kB / 0.7454 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/0.5976, allocations: 112.8 kB / 0.7455 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.5978, allocations: 43.97 kB / 0.7455 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001393/0.5992, allocations: 0.7347 MB / 0.7462 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5992, allocations: 0 / 0.7462 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001562/0.6008, allocations: 427.2 kB / 0.7467 GB, free: 10.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 1 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008605/0.6094, allocations: 3.196 MB / 0.7498 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005226/0.6146, allocations: 2.322 MB / 0.752 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6147, allocations: 0 / 0.752 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/0.6179, allocations: 1.64 MB / 0.7536 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.6193, allocations: 171.8 kB / 0.7538 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/0.6474, allocations: 11.66 MB / 0.7652 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.6486, allocations: 1.21 MB / 0.7664 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009132/0.6495, allocations: 197.1 kB / 0.7666 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008705/0.6504, allocations: 0.5149 MB / 0.7671 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.6504, allocations: 0 / 0.7671 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.7303, allocations: 31.67 MB / 0.798 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.63/20.36, allocations: 3.984 kB / 0.798 GB, free: 6.133 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe >> ../files/BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample.fmu > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)