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.005409/0.005409, allocations: 97.69 kB / 15.73 MB, free: 6 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.00131/0.00131, allocations: 186.1 kB / 16.67 MB, free: 5.93 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.023/1.023, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 64.09 kB / 0.5953 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3533, allocations: 82.03 MB / 0.6754 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008121/0.3614, allocations: 6.626 MB / 0.6819 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006632/0.3681, allocations: 3.883 MB / 0.6857 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000956/0.3691, allocations: 23.19 kB / 0.6857 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007288/0.3698, allocations: 238.5 kB / 0.6859 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3709, allocations: 406.7 kB / 0.6863 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.3726, allocations: 0.7522 MB / 0.687 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.3746, allocations: 1.962 MB / 0.6889 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009336/0.3756, allocations: 0.6808 MB / 0.6896 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.3764, allocations: 0.7325 MB / 0.6903 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.3775, allocations: 0.8343 MB / 0.6911 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.3778, allocations: 186.5 kB / 0.6913 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.3786, allocations: 475.7 kB / 0.6918 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.379, allocations: 434 kB / 0.6922 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007978/0.3798, allocations: 0.8179 MB / 0.693 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.3823, allocations: 2.23 MB / 0.6952 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3823, allocations: 4 kB / 0.6952 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3823, allocations: 0 / 0.6952 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.3824, allocations: 0 / 0.6952 GB, free: 2.008 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.004061/0.3864, allocations: 2.175 MB / 0.6973 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3865, allocations: 8.031 kB / 0.6973 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/0.3867, allocations: 177.2 kB / 0.6975 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.3871, allocations: 195.8 kB / 0.6977 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3886, allocations: 0.8988 MB / 0.6985 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.3889, allocations: 268.3 kB / 0.6988 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.3891, allocations: 116 kB / 0.6989 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.392, allocations: 1.373 MB / 0.7002 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.392, allocations: 3.938 kB / 0.7002 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.3921, allocations: 47.98 kB / 0.7003 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.3922, allocations: 27.98 kB / 0.7003 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.3952, allocations: 1.25 MB / 0.7015 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006916/0.4022, allocations: 4.489 MB / 0.7059 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.4047, allocations: 1.165 MB / 0.7071 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.4065, allocations: 0.7535 MB / 0.7078 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.4072, allocations: 0.5282 MB / 0.7083 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/0.4089, allocations: 0.7156 MB / 0.709 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=115): time 2.905e-06/0.4089, allocations: 0 / 0.709 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=115): time 0.01195/0.4209, allocations: 3.407 MB / 0.7123 GB, free: 15.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.4211, allocations: 293.9 kB / 0.7126 GB, free: 15.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.4227, allocations: 1.07 MB / 0.7137 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.4228, allocations: 49.69 kB / 0.7137 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/0.4234, allocations: 0.5878 MB / 0.7143 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.4238, allocations: 396.6 kB / 0.7147 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.4242, allocations: 190.6 kB / 0.7148 GB, free: 12.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4244, allocations: 345.9 kB / 0.7152 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.4258, allocations: 0.5137 MB / 0.7157 GB, free: 12.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.4274, allocations: 0.6537 MB / 0.7163 GB, free: 11.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.4305, allocations: 1.509 MB / 0.7178 GB, free: 9.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4305, allocations: 0 / 0.7178 GB, free: 9.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006493/0.437, allocations: 2.142 MB / 0.7199 GB, free: 7.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.4372, allocations: 211.9 kB / 0.7201 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006289/0.4435, allocations: 2.043 MB / 0.7221 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.4449, allocations: 434.1 kB / 0.7225 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.4456, allocations: 139.8 kB / 0.7226 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/0.4582, allocations: 6.856 MB / 0.7293 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4594, allocations: 123.2 kB / 0.7294 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.4595, allocations: 52.02 kB / 0.7295 GB, free: 13.23 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.0007878/0.4603, allocations: 0.5115 MB / 0.73 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4606, allocations: 143.1 kB / 0.7301 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006634/0.4672, allocations: 2.197 MB / 0.7323 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4672, allocations: 12 kB / 0.7323 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4673, allocations: 4 kB / 0.7323 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4673, allocations: 3.984 kB / 0.7323 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.469, allocations: 1.329 MB / 0.7336 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006179/0.4752, allocations: 2.017 MB / 0.7355 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.4757, allocations: 111.8 kB / 0.7357 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.4771, allocations: 442.4 kB / 0.7361 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.4772, allocations: 35.97 kB / 0.7361 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.4898, allocations: 6.836 MB / 0.7428 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4898, allocations: 0 / 0.7428 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006958/0.4967, allocations: 2.205 MB / 0.7449 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000613/0.4974, allocations: 371.8 kB / 0.7453 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.4976, allocations: 31.98 kB / 0.7453 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.4985, allocations: 63.88 kB / 0.7454 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.4988, allocations: 104.9 kB / 0.7455 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.4989, allocations: 43.97 kB / 0.7455 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001132/0.5001, allocations: 0.7425 MB / 0.7463 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5001, allocations: 0 / 0.7463 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001257/0.5013, allocations: 423.2 kB / 0.7467 GB, free: 10.92 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.008679/0.51, allocations: 3.194 MB / 0.7498 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004767/0.5148, allocations: 2.322 MB / 0.752 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5148, allocations: 4 kB / 0.752 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.5178, allocations: 1.648 MB / 0.7537 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.5188, allocations: 166.5 kB / 0.7538 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/0.5449, allocations: 11.65 MB / 0.7652 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.546, allocations: 1.202 MB / 0.7664 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007942/0.5468, allocations: 196.5 kB / 0.7666 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/0.5476, allocations: 0.511 MB / 0.7671 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.5476, allocations: 0 / 0.7671 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07562/0.6232, allocations: 31.68 MB / 0.798 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.96/20.58, allocations: 19.38 kB / 0.798 GB, free: 6.195 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1800 BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample.fmu > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)