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.001292/0.001292, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001382/0.001382, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9713/0.9713, allocations: 145 MB / 458.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",fmuType="cs",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.002024/0.002024, allocations: 65.19 kB / 0.6339 GB, free: 7.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1808, allocations: 87.88 MB / 0.7197 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008873/0.1897, allocations: 6.712 MB / 0.7263 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00768/0.1974, allocations: 4.124 MB / 0.7303 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.1988, allocations: 31.81 kB / 0.7303 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008787/0.1997, allocations: 245.6 kB / 0.7306 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2011, allocations: 448.9 kB / 0.731 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.203, allocations: 0.7784 MB / 0.7318 GB, free: 3.094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.2053, allocations: 1.916 MB / 0.7336 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/0.2061, allocations: 476.2 kB / 0.7341 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.2071, allocations: 0.7632 MB / 0.7348 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.2082, allocations: 0.8483 MB / 0.7357 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.2085, allocations: 191.9 kB / 0.7358 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.2093, allocations: 0.5112 MB / 0.7363 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.2097, allocations: 450.5 kB / 0.7368 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.2105, allocations: 0.8121 MB / 0.7376 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.2132, allocations: 2.288 MB / 0.7398 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2132, allocations: 3.984 kB / 0.7398 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2132, allocations: 0 / 0.7398 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.2132, allocations: 0 / 0.7398 GB, free: 10.8 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.004086/0.2173, allocations: 2.123 MB / 0.7419 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2173, allocations: 8.031 kB / 0.7419 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.071e-05/0.2174, allocations: 30.25 kB / 0.7419 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.2176, allocations: 177.2 kB / 0.7421 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/0.218, allocations: 195.8 kB / 0.7423 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.2197, allocations: 0.837 MB / 0.7431 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/0.2201, allocations: 0.4996 MB / 0.7436 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.2203, allocations: 108 kB / 0.7437 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.2231, allocations: 1.376 MB / 0.745 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.2232, allocations: 3.984 kB / 0.745 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.2233, allocations: 44 kB / 0.7451 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.2233, allocations: 28 kB / 0.7451 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.2263, allocations: 1.253 MB / 0.7463 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3643/0.5906, allocations: 4.435 MB / 0.7507 GB, free: 28.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.5929, allocations: 1.022 MB / 0.7516 GB, free: 28.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.5944, allocations: 0.6295 MB / 0.7523 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.5949, allocations: 78.86 kB / 0.7523 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.5966, allocations: 0.717 MB / 0.753 GB, free: 28.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=115): time 3.216e-06/0.5966, allocations: 0 / 0.753 GB, free: 28.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=115): time 0.01156/0.6081, allocations: 3.176 MB / 0.7561 GB, free: 28.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.6082, allocations: 284.3 kB / 0.7564 GB, free: 27.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.61, allocations: 1.083 MB / 0.7575 GB, free: 27.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.6101, allocations: 48.42 kB / 0.7575 GB, free: 27.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.6106, allocations: 0.5924 MB / 0.7581 GB, free: 27.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.6109, allocations: 397.1 kB / 0.7585 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.6113, allocations: 199.8 kB / 0.7587 GB, free: 27.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.6114, allocations: 344.4 kB / 0.759 GB, free: 27.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.6128, allocations: 0.5142 MB / 0.7595 GB, free: 26.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.6141, allocations: 0.6519 MB / 0.7601 GB, free: 26.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.6169, allocations: 1.515 MB / 0.7616 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6169, allocations: 1.406 kB / 0.7616 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006311/0.6232, allocations: 2.143 MB / 0.7637 GB, free: 24.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.6233, allocations: 208.4 kB / 0.7639 GB, free: 24.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005883/0.6292, allocations: 2.03 MB / 0.7659 GB, free: 23.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.6305, allocations: 430.8 kB / 0.7663 GB, free: 23.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.6312, allocations: 149.2 kB / 0.7664 GB, free: 23.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.6418, allocations: 6.535 MB / 0.7728 GB, free: 18.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.6433, allocations: 131 kB / 0.7729 GB, free: 18.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.6434, allocations: 47.48 kB / 0.773 GB, free: 18.45 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.0007833/0.6442, allocations: 0.5088 MB / 0.7735 GB, free: 18.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.6445, allocations: 143.8 kB / 0.7736 GB, free: 17.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006263/0.6508, allocations: 2.187 MB / 0.7758 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.6508, allocations: 13.38 kB / 0.7758 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6508, allocations: 3.812 kB / 0.7758 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.6508, allocations: 4.875 kB / 0.7758 GB, free: 17.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.6531, allocations: 1.318 MB / 0.7771 GB, free: 16.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005892/0.659, allocations: 2.018 MB / 0.779 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/0.6596, allocations: 111.8 kB / 0.7791 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.6607, allocations: 424.8 kB / 0.7796 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.6609, allocations: 34.27 kB / 0.7796 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.6714, allocations: 6.527 MB / 0.786 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6714, allocations: 1.031 kB / 0.786 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006584/0.678, allocations: 2.211 MB / 0.7881 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/0.6787, allocations: 296.2 kB / 0.7884 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.6789, allocations: 23.16 kB / 0.7884 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.6798, allocations: 58.41 kB / 0.7885 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/0.6802, allocations: 112 kB / 0.7886 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.6803, allocations: 42.91 kB / 0.7886 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00108/0.6814, allocations: 0.7505 MB / 0.7894 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6814, allocations: 0 / 0.7894 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001604/0.683, allocations: 441.1 kB / 0.7898 GB, free: 8.25 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.008503/0.6915, allocations: 3.247 MB / 0.793 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.6959, allocations: 2.179 MB / 0.7951 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6959, allocations: 3.938 kB / 0.7951 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.6983, allocations: 1.498 MB / 0.7965 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6994, allocations: 160.8 kB / 0.7967 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/0.7228, allocations: 11.69 MB / 0.8081 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009695/0.7237, allocations: 1.198 MB / 0.8093 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008364/0.7246, allocations: 202.8 kB / 0.8095 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000783/0.7254, allocations: 0.5149 MB / 0.81 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.7254, allocations: 0 / 0.81 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07717/0.8025, allocations: 33.25 MB / 0.8425 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.79/22.6, allocations: 5.781 kB / 0.8425 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 os._exit(0), Time elapsed: 26.517933096038178] Failed to read output from testmodel.py, exit status != 0: 22.87706602498656 22.904563629 22.686022196 Calling exit ...