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.001267/0.001267, allocations: 113 kB / 18.94 MB, free: 2.934 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.00136/0.00136, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.02 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.914/0.914, allocations: 145 MB / 457.4 MB, free: 15.51 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.00212/0.00212, allocations: 62.69 kB / 0.6331 GB, free: 7.367 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1711, allocations: 87.88 MB / 0.719 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.009583/0.1807, allocations: 6.709 MB / 0.7255 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007966/0.1887, allocations: 4.131 MB / 0.7295 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1898, allocations: 31.81 kB / 0.7296 GB, free: 4.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008996/0.1907, allocations: 237.7 kB / 0.7298 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.1922, allocations: 456.9 kB / 0.7302 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.1941, allocations: 0.7747 MB / 0.731 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.1967, allocations: 1.924 MB / 0.7329 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009143/0.1976, allocations: 460.3 kB / 0.7333 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.1989, allocations: 0.7672 MB / 0.7341 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.2, allocations: 0.8482 MB / 0.7349 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.2003, allocations: 192 kB / 0.7351 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009009/0.2012, allocations: 0.5111 MB / 0.7356 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004061/0.2016, allocations: 438.6 kB / 0.736 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008482/0.2025, allocations: 0.8199 MB / 0.7368 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.2051, allocations: 2.292 MB / 0.739 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2051, allocations: 0 / 0.739 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.061e-06/0.2051, allocations: 0 / 0.739 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.2051, allocations: 0 / 0.739 GB, free: 10.84 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.004037/0.2091, allocations: 2.123 MB / 0.7411 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2092, allocations: 12.03 kB / 0.7411 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/0.2094, allocations: 177.2 kB / 0.7413 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.2098, allocations: 191.8 kB / 0.7415 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.2113, allocations: 0.845 MB / 0.7423 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.2117, allocations: 0.4957 MB / 0.7428 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.212, allocations: 112 kB / 0.7429 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.2149, allocations: 1.373 MB / 0.7442 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2149, allocations: 3.938 kB / 0.7442 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.215, allocations: 47.98 kB / 0.7443 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.2151, allocations: 28 kB / 0.7443 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.2178, allocations: 1.246 MB / 0.7455 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3016/0.5195, allocations: 4.447 MB / 0.7499 GB, free: 28.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.5217, allocations: 1.017 MB / 0.7508 GB, free: 28.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.5232, allocations: 0.6312 MB / 0.7515 GB, free: 28.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004385/0.5236, allocations: 78.39 kB / 0.7515 GB, free: 28.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/0.5254, allocations: 0.716 MB / 0.7522 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=115): time 2.915e-06/0.5254, allocations: 2 kB / 0.7522 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=115): time 0.01132/0.5367, allocations: 3.18 MB / 0.7553 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.5368, allocations: 282.8 kB / 0.7556 GB, free: 28.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.5385, allocations: 1.082 MB / 0.7567 GB, free: 27.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/0.5386, allocations: 47.59 kB / 0.7567 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.539, allocations: 0.5952 MB / 0.7573 GB, free: 27.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.5393, allocations: 396.3 kB / 0.7577 GB, free: 27.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.5397, allocations: 197.3 kB / 0.7579 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.5398, allocations: 343.7 kB / 0.7582 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.5411, allocations: 0.5101 MB / 0.7587 GB, free: 26.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.5424, allocations: 0.6542 MB / 0.7593 GB, free: 26.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.5451, allocations: 1.519 MB / 0.7608 GB, free: 25.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5451, allocations: 4.812 kB / 0.7608 GB, free: 25.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006327/0.5514, allocations: 2.136 MB / 0.7629 GB, free: 24.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.5515, allocations: 209 kB / 0.7631 GB, free: 24.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005741/0.5573, allocations: 2.027 MB / 0.7651 GB, free: 23.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.5586, allocations: 431.7 kB / 0.7655 GB, free: 23.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.5592, allocations: 150.6 kB / 0.7656 GB, free: 23.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.5695, allocations: 6.536 MB / 0.772 GB, free: 18.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.5709, allocations: 126.4 kB / 0.7721 GB, free: 18.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.5712, allocations: 51.8 kB / 0.7722 GB, free: 18.5 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.0009946/0.5721, allocations: 0.5062 MB / 0.7727 GB, free: 18.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.5725, allocations: 142.6 kB / 0.7728 GB, free: 18.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006276/0.5788, allocations: 2.187 MB / 0.775 GB, free: 17.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.5788, allocations: 9.781 kB / 0.775 GB, free: 17.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.5788, allocations: 3.688 kB / 0.775 GB, free: 17.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.5788, allocations: 6.375 kB / 0.775 GB, free: 17.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.5806, allocations: 1.313 MB / 0.7763 GB, free: 16.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005499/0.5861, allocations: 2.024 MB / 0.7782 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/0.5866, allocations: 111.2 kB / 0.7783 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.5877, allocations: 433.6 kB / 0.7788 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/0.5878, allocations: 32.84 kB / 0.7788 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009743/0.5975, allocations: 6.518 MB / 0.7852 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5975, allocations: 1.031 kB / 0.7852 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/0.6037, allocations: 2.212 MB / 0.7873 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.6045, allocations: 296.6 kB / 0.7876 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.6047, allocations: 22.5 kB / 0.7876 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.6058, allocations: 59.81 kB / 0.7877 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.6061, allocations: 112.6 kB / 0.7878 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.6062, allocations: 42.34 kB / 0.7878 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001103/0.6073, allocations: 0.7505 MB / 0.7886 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.6073, allocations: 0 / 0.7886 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00143/0.6087, allocations: 442.6 kB / 0.789 GB, free: 8.262 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.00795/0.6167, allocations: 3.24 MB / 0.7921 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00401/0.6207, allocations: 2.178 MB / 0.7943 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6207, allocations: 0 / 0.7943 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002352/0.623, allocations: 1.504 MB / 0.7957 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008762/0.6239, allocations: 171.2 kB / 0.7959 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/0.6479, allocations: 11.7 MB / 0.8073 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009884/0.6489, allocations: 1.198 MB / 0.8085 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008087/0.6497, allocations: 203.9 kB / 0.8087 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000798/0.6505, allocations: 0.5149 MB / 0.8092 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.6505, allocations: 0 / 0.8092 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09008/0.7406, allocations: 33.23 MB / 0.8416 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.71/22.45, allocations: 6.938 kB / 0.8416 GB, free: 6.195 MB / 0.6075 GB " [Timeout remaining time 637] (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: 27.231515074847266] Failed to read output from testmodel.py, exit status != 0: 22.66201562504284 22.676958527 22.46861622 Calling exit ...