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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 197.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8418/0.8418, allocations: 143 MB / 433 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1261, allocations: 82.05 MB / 0.5937 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006349/0.1325, allocations: 6.566 MB / 0.6001 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2075/0.34, allocations: 3.913 MB / 0.604 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009136/0.341, allocations: 26.84 kB / 0.604 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.3415, allocations: 186.2 kB / 0.6042 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.3422, allocations: 340.5 kB / 0.6045 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3433, allocations: 0.6577 MB / 0.6051 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009406/0.3443, allocations: 1.728 MB / 0.6068 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.3449, allocations: 0.6252 MB / 0.6074 GB, free: 36.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.3453, allocations: 0.6395 MB / 0.6081 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.3459, allocations: 0.7823 MB / 0.6088 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.3461, allocations: 95.88 kB / 0.6089 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.3465, allocations: 374 kB / 0.6093 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.3468, allocations: 366 kB / 0.6096 GB, free: 36.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.3472, allocations: 0.728 MB / 0.6103 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3483, allocations: 2.107 MB / 0.6124 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3483, allocations: 2.969 kB / 0.6124 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.02e-07/0.3483, allocations: 0 / 0.6124 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3483, allocations: 0.5625 kB / 0.6124 GB, free: 35.61 MB / 0.4981 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.002853/0.3512, allocations: 2.129 MB / 0.6145 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3512, allocations: 7.875 kB / 0.6145 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.3514, allocations: 180 kB / 0.6146 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.3517, allocations: 186.2 kB / 0.6148 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/0.3526, allocations: 0.8686 MB / 0.6157 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.3528, allocations: 277.8 kB / 0.6159 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3529, allocations: 111.1 kB / 0.616 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.3551, allocations: 1.374 MB / 0.6174 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3551, allocations: 4 kB / 0.6174 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3552, allocations: 46.66 kB / 0.6174 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.3552, allocations: 29.48 kB / 0.6175 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.3575, allocations: 1.254 MB / 0.6187 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.3622, allocations: 4.533 MB / 0.6231 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3641, allocations: 1.152 MB / 0.6242 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.3653, allocations: 0.744 MB / 0.625 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.3657, allocations: 0.5228 MB / 0.6255 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.367, allocations: 0.7203 MB / 0.6262 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 2.364e-06/0.367, allocations: 0 / 0.6262 GB, free: 27.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.00938/0.3763, allocations: 3.395 MB / 0.6295 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3764, allocations: 283.7 kB / 0.6298 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.3774, allocations: 1.067 MB / 0.6308 GB, free: 25.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/0.3775, allocations: 45.92 kB / 0.6308 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.3777, allocations: 0.5842 MB / 0.6314 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.3779, allocations: 371.3 kB / 0.6318 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.3782, allocations: 193.3 kB / 0.632 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.3783, allocations: 355.2 kB / 0.6323 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3793, allocations: 0.5107 MB / 0.6328 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.3804, allocations: 0.6611 MB / 0.6334 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.3825, allocations: 1.502 MB / 0.6349 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3825, allocations: 4 kB / 0.6349 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005012/0.3876, allocations: 2.138 MB / 0.637 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.3876, allocations: 213.2 kB / 0.6372 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005032/0.3927, allocations: 2.04 MB / 0.6392 GB, free: 21.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.3939, allocations: 435.9 kB / 0.6396 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.3945, allocations: 145 kB / 0.6397 GB, free: 20.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008662/0.4031, allocations: 6.232 MB / 0.6458 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/0.4041, allocations: 123.1 kB / 0.6459 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.4042, allocations: 48.08 kB / 0.646 GB, free: 16.02 MB / 0.4981 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.0005264/0.4048, allocations: 0.5151 MB / 0.6465 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.405, allocations: 134.1 kB / 0.6466 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005601/0.4106, allocations: 2.228 MB / 0.6488 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4106, allocations: 9.406 kB / 0.6488 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4106, allocations: 2.812 kB / 0.6488 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.4106, allocations: 4.641 kB / 0.6488 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.412, allocations: 1.355 MB / 0.6501 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005122/0.4172, allocations: 2.017 MB / 0.6521 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.4177, allocations: 110 kB / 0.6522 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.4187, allocations: 430.1 kB / 0.6526 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.4188, allocations: 39.45 kB / 0.6527 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008534/0.4273, allocations: 6.215 MB / 0.6587 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4274, allocations: 0.6562 kB / 0.6587 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.4328, allocations: 2.198 MB / 0.6609 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.4332, allocations: 367.5 kB / 0.6612 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.4334, allocations: 29.2 kB / 0.6613 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/0.4343, allocations: 66.5 kB / 0.6613 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.4345, allocations: 110.1 kB / 0.6614 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.241e-05/0.4346, allocations: 48.17 kB / 0.6615 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008532/0.4355, allocations: 0.7428 MB / 0.6622 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4355, allocations: 0 / 0.6622 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001122/0.4366, allocations: 419.9 kB / 0.6626 GB, free: 6.531 MB / 0.4981 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.006449/0.4431, allocations: 3.191 MB / 0.6657 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003783/0.4469, allocations: 2.314 MB / 0.668 GB, free: 19.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4469, allocations: 0 / 0.668 GB, free: 19.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.4492, allocations: 1.63 MB / 0.6696 GB, free: 18.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/0.45, allocations: 165.2 kB / 0.6697 GB, free: 18.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/0.472, allocations: 12.67 MB / 0.6821 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/0.4727, allocations: 1.204 MB / 0.6833 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006909/0.4734, allocations: 194.3 kB / 0.6835 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/0.4741, allocations: 0.5151 MB / 0.684 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4741, allocations: 0 / 0.684 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7307/1.205, allocations: 30.31 MB / 0.7136 GB, free: 14.57 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/1.205, allocations: 333.2 kB / 0.7139 GB, free: 14.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/3.39, allocations: 1.875 kB / 0.7139 GB, free: 14.2 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample.fmu > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)