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.000841/0.000841, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005146/0.005146, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.9007/0.9007, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 12 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 83.4 MB / 0.5979 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006007/0.1429, allocations: 6.087 MB / 0.6039 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2426/0.3855, allocations: 3.866 MB / 0.6077 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007761/0.3863, allocations: 23.69 kB / 0.6077 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.3868, allocations: 181.8 kB / 0.6079 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.3875, allocations: 337.1 kB / 0.6082 GB, free: 34.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.3885, allocations: 0.6562 MB / 0.6088 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.3896, allocations: 1.722 MB / 0.6105 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006491/0.3903, allocations: 0.6209 MB / 0.6111 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.3907, allocations: 0.5811 MB / 0.6117 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.3913, allocations: 0.7016 MB / 0.6124 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.3915, allocations: 68.5 kB / 0.6124 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.3919, allocations: 346 kB / 0.6128 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.3921, allocations: 327.9 kB / 0.6131 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.3925, allocations: 0.703 MB / 0.6138 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.3937, allocations: 2.048 MB / 0.6158 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3938, allocations: 0 / 0.6158 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3938, allocations: 0 / 0.6158 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.3938, allocations: 0 / 0.6158 GB, free: 33.6 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.002524/0.3963, allocations: 1.833 MB / 0.6175 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3964, allocations: 12.16 kB / 0.6176 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.3965, allocations: 178.3 kB / 0.6177 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.3968, allocations: 186.6 kB / 0.6179 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.3977, allocations: 0.8741 MB / 0.6188 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.3979, allocations: 274.3 kB / 0.619 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.3981, allocations: 112.2 kB / 0.6191 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.4003, allocations: 1.374 MB / 0.6205 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4003, allocations: 0 / 0.6205 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.4004, allocations: 51.58 kB / 0.6205 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4004, allocations: 24.59 kB / 0.6205 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.4028, allocations: 1.257 MB / 0.6218 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.4076, allocations: 4.546 MB / 0.6262 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.4095, allocations: 1.155 MB / 0.6273 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.4107, allocations: 0.7449 MB / 0.6281 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.4112, allocations: 0.5316 MB / 0.6286 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/0.4125, allocations: 0.7123 MB / 0.6293 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 2.415e-06/0.4125, allocations: 0.6562 kB / 0.6293 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.01004/0.4225, allocations: 3.431 MB / 0.6326 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.4226, allocations: 282.7 kB / 0.6329 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.4239, allocations: 1.062 MB / 0.6339 GB, free: 24.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.424, allocations: 46.58 kB / 0.634 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.4243, allocations: 0.5846 MB / 0.6346 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.4245, allocations: 376.2 kB / 0.6349 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4247, allocations: 89.33 kB / 0.635 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.4247, allocations: 355.9 kB / 0.6353 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.4258, allocations: 0.5048 MB / 0.6358 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.4269, allocations: 0.6605 MB / 0.6365 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.4292, allocations: 1.509 MB / 0.6379 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4292, allocations: 3.938 kB / 0.638 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00528/0.4345, allocations: 2.138 MB / 0.64 GB, free: 21.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.4346, allocations: 217.1 kB / 0.6402 GB, free: 20.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005414/0.44, allocations: 2.04 MB / 0.6422 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.4413, allocations: 430.6 kB / 0.6426 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.442, allocations: 142.2 kB / 0.6428 GB, free: 19.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009395/0.4514, allocations: 6.247 MB / 0.6489 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.4527, allocations: 129.6 kB / 0.649 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4528, allocations: 47.81 kB / 0.6491 GB, free: 15.03 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.0006812/0.4535, allocations: 0.5093 MB / 0.6496 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.4537, allocations: 138.1 kB / 0.6497 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005924/0.4596, allocations: 2.235 MB / 0.6519 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4596, allocations: 9.781 kB / 0.6519 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4596, allocations: 3.812 kB / 0.6519 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.4596, allocations: 8.875 kB / 0.6519 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.4611, allocations: 1.351 MB / 0.6532 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005353/0.4665, allocations: 2.019 MB / 0.6552 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.467, allocations: 109 kB / 0.6553 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.4681, allocations: 444.5 kB / 0.6557 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/0.4682, allocations: 38.64 kB / 0.6557 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00903/0.4773, allocations: 6.225 MB / 0.6618 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4773, allocations: 0 / 0.6618 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.4829, allocations: 2.211 MB / 0.664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.4834, allocations: 372.3 kB / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.4836, allocations: 23.89 kB / 0.6644 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/0.4845, allocations: 69.25 kB / 0.6644 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.4848, allocations: 109.7 kB / 0.6645 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4849, allocations: 44.12 kB / 0.6646 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009262/0.4858, allocations: 0.7393 MB / 0.6653 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4858, allocations: 0 / 0.6653 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001166/0.487, allocations: 423.8 kB / 0.6657 GB, free: 5.535 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.006824/0.4938, allocations: 3.193 MB / 0.6688 GB, free: 19.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003983/0.4978, allocations: 2.319 MB / 0.6711 GB, free: 18.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4978, allocations: 0 / 0.6711 GB, free: 18.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.5003, allocations: 1.641 MB / 0.6727 GB, free: 17.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.5012, allocations: 157.1 kB / 0.6728 GB, free: 17.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/0.5249, allocations: 12.72 MB / 0.6853 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/0.5257, allocations: 1.201 MB / 0.6864 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007479/0.5265, allocations: 197.8 kB / 0.6866 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/0.5272, allocations: 0.5095 MB / 0.6871 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.5272, allocations: 0 / 0.6871 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/0.5745, allocations: 29.79 MB / 0.7162 GB, free: 13.48 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.5748, allocations: 332.7 kB / 0.7165 GB, free: 13.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.881, allocations: 6.938 kB / 0.7165 GB, free: 13.11 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)