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.001388/0.001388, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.001443/0.001443, allocations: 218.9 kB / 23.03 MB, free: 4.953 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.473/1.473, allocations: 230.6 MB / 256.8 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.9242/0.9242, allocations: 145 MB / 458.2 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="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.001963/0.001963, allocations: 70.31 kB / 0.6338 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1797, allocations: 87.89 MB / 0.7197 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008931/0.1887, allocations: 5.842 MB / 0.7254 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007579/0.1963, allocations: 3.964 MB / 0.7292 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.1975, allocations: 31.81 kB / 0.7293 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009456/0.1984, allocations: 241.6 kB / 0.7295 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.2001, allocations: 460.9 kB / 0.7299 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.2024, allocations: 0.7594 MB / 0.7307 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002786/0.2051, allocations: 1.92 MB / 0.7326 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009129/0.2061, allocations: 472.3 kB / 0.733 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.2073, allocations: 0.7671 MB / 0.7338 GB, free: 356 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2085, allocations: 0.8445 MB / 0.7346 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.2088, allocations: 188 kB / 0.7348 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008419/0.2096, allocations: 419.6 kB / 0.7352 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004942/0.2101, allocations: 442.5 kB / 0.7356 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.2109, allocations: 0.6647 MB / 0.7362 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.2137, allocations: 2.284 MB / 0.7385 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2137, allocations: 0 / 0.7385 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2137, allocations: 3.938 kB / 0.7385 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.515e-05/0.2138, allocations: 4 kB / 0.7385 GB, free: 11.5 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.00446/0.2182, allocations: 2.115 MB / 0.7405 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.2183, allocations: 15.97 kB / 0.7405 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.065e-05/0.2183, allocations: 30.25 kB / 0.7406 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.2186, allocations: 177.2 kB / 0.7407 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.219, allocations: 195.8 kB / 0.7409 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.2205, allocations: 0.8448 MB / 0.7418 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/0.221, allocations: 499.6 kB / 0.7422 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.2211, allocations: 108 kB / 0.7423 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.2242, allocations: 1.62 MB / 0.7439 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.2242, allocations: 0 / 0.7439 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.2243, allocations: 47.98 kB / 0.744 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.2243, allocations: 24 kB / 0.744 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.2274, allocations: 1.431 MB / 0.7454 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006804/0.2342, allocations: 3.32 MB / 0.7486 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.332/0.5662, allocations: 1.201 MB / 0.7498 GB, free: 29.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.5677, allocations: 0.8192 MB / 0.7506 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004656/0.5682, allocations: 74.69 kB / 0.7507 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/0.5699, allocations: 0.8931 MB / 0.7515 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=115): time 3.887e-06/0.5699, allocations: 2.219 kB / 0.7515 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=115): time 0.012/0.5819, allocations: 3.547 MB / 0.755 GB, free: 28.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.582, allocations: 283.2 kB / 0.7553 GB, free: 28.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.584, allocations: 1.085 MB / 0.7563 GB, free: 28.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.5842, allocations: 46.8 kB / 0.7564 GB, free: 28.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.5847, allocations: 0.5949 MB / 0.757 GB, free: 27.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.5851, allocations: 395.3 kB / 0.7573 GB, free: 27.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.5855, allocations: 194.9 kB / 0.7575 GB, free: 27.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5856, allocations: 346.1 kB / 0.7579 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.587, allocations: 0.722 MB / 0.7586 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.5885, allocations: 0.9159 MB / 0.7595 GB, free: 26.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.5912, allocations: 1.526 MB / 0.7609 GB, free: 25.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5912, allocations: 0.9062 kB / 0.7609 GB, free: 25.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006686/0.5979, allocations: 2.354 MB / 0.7632 GB, free: 24.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.598, allocations: 212.7 kB / 0.7634 GB, free: 24.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006333/0.6043, allocations: 2.253 MB / 0.7656 GB, free: 23.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.6056, allocations: 431 kB / 0.7661 GB, free: 22.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/0.6064, allocations: 142.7 kB / 0.7662 GB, free: 22.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.6167, allocations: 6.499 MB / 0.7725 GB, free: 18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6181, allocations: 119.8 kB / 0.7727 GB, free: 17.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.6182, allocations: 55.14 kB / 0.7727 GB, free: 17.93 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.0007181/0.619, allocations: 0.5025 MB / 0.7732 GB, free: 17.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.6192, allocations: 150.7 kB / 0.7733 GB, free: 17.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005999/0.6252, allocations: 2.384 MB / 0.7757 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6252, allocations: 9.438 kB / 0.7757 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.6252, allocations: 9.109 kB / 0.7757 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.6252, allocations: 8.625 kB / 0.7757 GB, free: 16.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.6268, allocations: 1.059 MB / 0.7767 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005527/0.6323, allocations: 2.214 MB / 0.7789 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.6328, allocations: 115.2 kB / 0.779 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.634, allocations: 425.9 kB / 0.7794 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.6341, allocations: 39.12 kB / 0.7794 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009678/0.6438, allocations: 6.469 MB / 0.7858 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6438, allocations: 5.094 kB / 0.7858 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00597/0.6498, allocations: 2.402 MB / 0.7881 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007281/0.6505, allocations: 297.3 kB / 0.7884 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.6507, allocations: 26.77 kB / 0.7884 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/0.6516, allocations: 54.03 kB / 0.7885 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/0.6519, allocations: 109.2 kB / 0.7886 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.976e-05/0.652, allocations: 43.11 kB / 0.7886 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009359/0.6529, allocations: 0.7543 MB / 0.7894 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6529, allocations: 0 / 0.7894 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001372/0.6543, allocations: 438 kB / 0.7898 GB, free: 7.59 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.007927/0.6622, allocations: 3.466 MB / 0.7932 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0042/0.6664, allocations: 2.596 MB / 0.7957 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6664, allocations: 0 / 0.7957 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.6687, allocations: 1.688 MB / 0.7973 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.6697, allocations: 172.9 kB / 0.7975 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/0.6942, allocations: 12.74 MB / 0.8099 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.6949, allocations: 0.6163 MB / 0.8106 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008338/0.6958, allocations: 194.7 kB / 0.8107 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/0.6965, allocations: 0.5149 MB / 0.8112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.6965, allocations: 4 kB / 0.8112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07648/0.773, allocations: 33.95 MB / 0.8444 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.93/22.7, allocations: 11.98 kB / 0.8444 GB, free: 2.824 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.626923287985846] Failed to read output from testmodel.py, exit status != 0: 22.981676717987284 23.007146156 22.788706102 Calling exit ...