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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 209.9 kB / 22.24 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.9236/0.9236, allocations: 145 MB / 457.4 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 69.8 kB / 0.6331 GB, free: 6.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1891, allocations: 87.89 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008471/0.1975, allocations: 5.846 MB / 0.7246 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007435/0.205, allocations: 3.972 MB / 0.7285 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.2063, allocations: 31.81 kB / 0.7285 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.2073, allocations: 249.6 kB / 0.7287 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.2092, allocations: 449 kB / 0.7292 GB, free: 4.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.2115, allocations: 0.7669 MB / 0.7299 GB, free: 3.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002924/0.2144, allocations: 1.916 MB / 0.7318 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.2155, allocations: 448.3 kB / 0.7322 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.2175, allocations: 0.7632 MB / 0.733 GB, free: 348 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.2196, allocations: 0.7663 MB / 0.7337 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.2206, allocations: 188 kB / 0.7339 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2221, allocations: 411.7 kB / 0.7343 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007743/0.2229, allocations: 450.5 kB / 0.7347 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/0.2248, allocations: 0.6646 MB / 0.7354 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.2286, allocations: 2.273 MB / 0.7376 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.2286, allocations: 7.938 kB / 0.7376 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2286, allocations: 4 kB / 0.7376 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.469e-05/0.2287, allocations: 0 / 0.7376 GB, free: 11.58 MB / 0.5606 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.005515/0.2342, allocations: 2.123 MB / 0.7397 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2343, allocations: 12.03 kB / 0.7397 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.2345, allocations: 177.2 kB / 0.7398 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.235, allocations: 195.8 kB / 0.74 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.2367, allocations: 0.8372 MB / 0.7409 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/0.2372, allocations: 0.4957 MB / 0.7413 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.2373, allocations: 112 kB / 0.7414 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.2404, allocations: 1.612 MB / 0.743 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.2404, allocations: 0 / 0.743 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.2405, allocations: 48 kB / 0.7431 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.2406, allocations: 27.98 kB / 0.7431 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.2438, allocations: 1.424 MB / 0.7445 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007395/0.2512, allocations: 3.316 MB / 0.7477 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3201/0.5713, allocations: 1.2 MB / 0.7489 GB, free: 29.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.5728, allocations: 0.8157 MB / 0.7497 GB, free: 29.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.5732, allocations: 78.94 kB / 0.7498 GB, free: 29.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/0.5749, allocations: 0.8963 MB / 0.7506 GB, free: 29.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=115): time 3.697e-06/0.5749, allocations: 0.8438 kB / 0.7506 GB, free: 29.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=115): time 0.01149/0.5864, allocations: 3.538 MB / 0.7541 GB, free: 28.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.5864, allocations: 290 kB / 0.7544 GB, free: 28.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.5883, allocations: 1.089 MB / 0.7554 GB, free: 28.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.5885, allocations: 47.36 kB / 0.7555 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.589, allocations: 0.5943 MB / 0.7561 GB, free: 27.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.5893, allocations: 396.5 kB / 0.7564 GB, free: 27.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.5897, allocations: 193.5 kB / 0.7566 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.5898, allocations: 342.1 kB / 0.7569 GB, free: 27.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.5912, allocations: 0.7193 MB / 0.7577 GB, free: 27.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.5928, allocations: 0.9236 MB / 0.7586 GB, free: 26.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.5956, allocations: 1.527 MB / 0.76 GB, free: 25.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.5956, allocations: 1.688 kB / 0.76 GB, free: 25.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006451/0.602, allocations: 2.358 MB / 0.7623 GB, free: 24.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.847e-05/0.6021, allocations: 214.6 kB / 0.7626 GB, free: 24.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00623/0.6084, allocations: 2.244 MB / 0.7647 GB, free: 22.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.6097, allocations: 433.2 kB / 0.7652 GB, free: 22.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.6104, allocations: 144.8 kB / 0.7653 GB, free: 22.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.6209, allocations: 6.493 MB / 0.7716 GB, free: 17.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.6223, allocations: 124.8 kB / 0.7718 GB, free: 17.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.6225, allocations: 47.39 kB / 0.7718 GB, free: 17.86 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.0008763/0.6234, allocations: 0.5147 MB / 0.7723 GB, free: 17.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.6237, allocations: 147 kB / 0.7724 GB, free: 17.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006244/0.63, allocations: 2.384 MB / 0.7748 GB, free: 16.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.63, allocations: 13.88 kB / 0.7748 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.63, allocations: 11.75 kB / 0.7748 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.63, allocations: 4.453 kB / 0.7748 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.6317, allocations: 1.055 MB / 0.7758 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005857/0.6376, allocations: 2.212 MB / 0.778 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.6382, allocations: 115.5 kB / 0.7781 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/0.6394, allocations: 427.4 kB / 0.7785 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/0.6397, allocations: 34.47 kB / 0.7785 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.6497, allocations: 6.478 MB / 0.7849 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6497, allocations: 5.094 kB / 0.7849 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006309/0.656, allocations: 2.393 MB / 0.7872 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/0.6568, allocations: 300.5 kB / 0.7875 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003029/0.6571, allocations: 23.69 kB / 0.7875 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/0.6581, allocations: 54.69 kB / 0.7876 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/0.6584, allocations: 116.2 kB / 0.7877 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.6585, allocations: 43.5 kB / 0.7877 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001086/0.6596, allocations: 0.7493 MB / 0.7885 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6596, allocations: 0 / 0.7885 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00154/0.6611, allocations: 446.6 kB / 0.7889 GB, free: 7.539 MB / 0.5606 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.008279/0.6694, allocations: 3.455 MB / 0.7923 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004362/0.6738, allocations: 2.598 MB / 0.7948 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6738, allocations: 0 / 0.7948 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002447/0.6762, allocations: 1.687 MB / 0.7964 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6773, allocations: 171 kB / 0.7966 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/0.7041, allocations: 12.76 MB / 0.8091 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.7052, allocations: 0.6163 MB / 0.8097 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000981/0.7062, allocations: 190 kB / 0.8098 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/0.7071, allocations: 0.5149 MB / 0.8103 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.7071, allocations: 0 / 0.8103 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09277/0.7998, allocations: 34.12 MB / 0.8437 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.27, allocations: 4.062 kB / 0.8437 GB, free: 2.738 MB / 0.6075 GB " [Timeout remaining time 645] (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 --stepSize=1800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample.fmu > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.144306886941195] Failed to read output from testmodel.py, exit status != 0: 15.493804772384465 15.519462553 15.285658956 Calling exit ...