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.001843/0.001843, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002564/0.002564, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.805 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.9242/0.9242, allocations: 145 MB / 457.4 MB, free: 15.28 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.00206/0.00206, allocations: 63.39 kB / 0.6331 GB, free: 6.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1762, allocations: 87.88 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008285/0.1845, allocations: 5.849 MB / 0.7246 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007316/0.1918, allocations: 3.972 MB / 0.7285 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1928, allocations: 31.81 kB / 0.7285 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007218/0.1935, allocations: 249.6 kB / 0.7287 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.1947, allocations: 456.9 kB / 0.7292 GB, free: 4.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.1964, allocations: 0.7594 MB / 0.7299 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.1986, allocations: 1.924 MB / 0.7318 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.1994, allocations: 436.3 kB / 0.7322 GB, free: 1.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.2004, allocations: 0.7632 MB / 0.733 GB, free: 368 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.2015, allocations: 0.7663 MB / 0.7337 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.2018, allocations: 188 kB / 0.7339 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007778/0.2026, allocations: 415.7 kB / 0.7343 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.203, allocations: 450.5 kB / 0.7347 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006986/0.2037, allocations: 0.6646 MB / 0.7354 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.2063, allocations: 2.28 MB / 0.7376 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2063, allocations: 0 / 0.7376 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2063, allocations: 0 / 0.7376 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.471e-05/0.2064, allocations: 0 / 0.7376 GB, free: 11.6 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.004883/0.2113, allocations: 2.123 MB / 0.7397 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.2113, allocations: 8.031 kB / 0.7397 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002539/0.2116, allocations: 177.2 kB / 0.7398 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.212, allocations: 195.8 kB / 0.74 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.2136, allocations: 0.845 MB / 0.7409 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/0.2141, allocations: 0.4918 MB / 0.7413 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.2143, allocations: 112 kB / 0.7414 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.2173, allocations: 1.608 MB / 0.743 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.2173, allocations: 0 / 0.743 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.2175, allocations: 47.98 kB / 0.7431 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.2175, allocations: 28 kB / 0.7431 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.2205, allocations: 1.424 MB / 0.7445 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006652/0.2271, allocations: 3.32 MB / 0.7477 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.372/0.5991, allocations: 1.198 MB / 0.7489 GB, free: 29.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.6007, allocations: 0.8141 MB / 0.7497 GB, free: 29.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.6011, allocations: 79.02 kB / 0.7498 GB, free: 29.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.6027, allocations: 0.8985 MB / 0.7506 GB, free: 29.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=115): time 3.827e-06/0.6027, allocations: 0 / 0.7506 GB, free: 29.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=115): time 0.01127/0.614, allocations: 3.546 MB / 0.7541 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.6141, allocations: 281.7 kB / 0.7544 GB, free: 28.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.6161, allocations: 1.094 MB / 0.7554 GB, free: 28.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.6162, allocations: 46.3 kB / 0.7555 GB, free: 27.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005606/0.6168, allocations: 0.5936 MB / 0.7561 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.6171, allocations: 395.5 kB / 0.7564 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.6176, allocations: 194.3 kB / 0.7566 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6177, allocations: 344.1 kB / 0.7569 GB, free: 27.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.6191, allocations: 0.7197 MB / 0.7576 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.6207, allocations: 0.9156 MB / 0.7585 GB, free: 26.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.6235, allocations: 1.53 MB / 0.76 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.6235, allocations: 5 kB / 0.76 GB, free: 25.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006276/0.6298, allocations: 2.359 MB / 0.7623 GB, free: 24.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.295e-05/0.6299, allocations: 214.7 kB / 0.7626 GB, free: 24.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005919/0.6358, allocations: 2.24 MB / 0.7647 GB, free: 22.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.6371, allocations: 432 kB / 0.7651 GB, free: 22.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.6377, allocations: 146.1 kB / 0.7653 GB, free: 22.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.648, allocations: 6.498 MB / 0.7716 GB, free: 17.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.6494, allocations: 127.7 kB / 0.7718 GB, free: 17.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.6496, allocations: 47.27 kB / 0.7718 GB, free: 17.85 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.0006805/0.6502, allocations: 0.5163 MB / 0.7723 GB, free: 17.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.6505, allocations: 144.3 kB / 0.7724 GB, free: 17.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006081/0.6566, allocations: 2.38 MB / 0.7748 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.6566, allocations: 13.42 kB / 0.7748 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.6566, allocations: 3.688 kB / 0.7748 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.6566, allocations: 4.547 kB / 0.7748 GB, free: 16.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.6585, allocations: 1.054 MB / 0.7758 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005588/0.6641, allocations: 2.216 MB / 0.778 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.6646, allocations: 114.5 kB / 0.7781 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/0.6658, allocations: 431.7 kB / 0.7785 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.6659, allocations: 37.81 kB / 0.7785 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009953/0.6758, allocations: 6.473 MB / 0.7849 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6758, allocations: 4.062 kB / 0.7849 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/0.6819, allocations: 2.403 MB / 0.7872 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.6827, allocations: 292.2 kB / 0.7875 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.6829, allocations: 27.27 kB / 0.7875 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.6837, allocations: 50.27 kB / 0.7876 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.684, allocations: 117.1 kB / 0.7877 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/0.6841, allocations: 42.53 kB / 0.7877 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009531/0.685, allocations: 0.7499 MB / 0.7884 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.685, allocations: 0.875 kB / 0.7884 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001314/0.6863, allocations: 444.2 kB / 0.7889 GB, free: 7.508 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.007707/0.694, allocations: 3.47 MB / 0.7923 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004167/0.6982, allocations: 2.599 MB / 0.7948 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6982, allocations: 0 / 0.7948 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.7006, allocations: 1.681 MB / 0.7964 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.7015, allocations: 165.6 kB / 0.7966 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/0.7257, allocations: 12.74 MB / 0.809 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007714/0.7265, allocations: 0.6202 MB / 0.8096 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008226/0.7273, allocations: 190.1 kB / 0.8098 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.7281, allocations: 0.5188 MB / 0.8103 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.7281, allocations: 0 / 0.8103 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08444/0.8125, allocations: 34.12 MB / 0.8437 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.39, allocations: 9.938 kB / 0.8437 GB, free: 2.746 MB / 0.6075 GB " [Timeout remaining time 644] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.86741778580472] Failed to read output from testmodel.py, exit status != 0: 15.611370753962547 15.635442724 15.42448103 Calling exit ...