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.006308/0.006308, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.00129/0.00129, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.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 1.102/1.102, allocations: 143 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 0.595 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5116/0.513, allocations: 82.03 MB / 0.6751 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.007355/0.5204, allocations: 6.635 MB / 0.6816 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006833/0.5273, allocations: 3.871 MB / 0.6854 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.5286, allocations: 27.16 kB / 0.6854 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.5293, allocations: 241.6 kB / 0.6857 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.5305, allocations: 399 kB / 0.686 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.5324, allocations: 0.7652 MB / 0.6868 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.5345, allocations: 1.952 MB / 0.6887 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009529/0.5354, allocations: 0.6833 MB / 0.6894 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.5365, allocations: 0.7332 MB / 0.6901 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.5376, allocations: 0.8427 MB / 0.6909 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.5379, allocations: 187.2 kB / 0.6911 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.5387, allocations: 467.4 kB / 0.6915 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.5391, allocations: 446.1 kB / 0.6919 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007878/0.5399, allocations: 0.8049 MB / 0.6927 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.5422, allocations: 2.227 MB / 0.6949 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5422, allocations: 3.938 kB / 0.6949 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5422, allocations: 0 / 0.6949 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.361e-05/0.5423, allocations: 0 / 0.6949 GB, free: 2.121 MB / 0.5137 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.003858/0.5461, allocations: 2.133 MB / 0.697 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5462, allocations: 8.031 kB / 0.697 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.5464, allocations: 177.2 kB / 0.6972 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.5468, allocations: 186.8 kB / 0.6973 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.548, allocations: 0.8861 MB / 0.6982 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.5483, allocations: 272.3 kB / 0.6985 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.5485, allocations: 108 kB / 0.6986 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.5511, allocations: 1.376 MB / 0.6999 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5512, allocations: 4 kB / 0.6999 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.5513, allocations: 44 kB / 0.7 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.5513, allocations: 24 kB / 0.7 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.5543, allocations: 1.253 MB / 0.7012 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007127/0.5614, allocations: 4.48 MB / 0.7056 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.5637, allocations: 1.169 MB / 0.7067 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.5651, allocations: 0.7502 MB / 0.7075 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/0.5657, allocations: 0.5243 MB / 0.708 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.5672, allocations: 0.7194 MB / 0.7087 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=115): time 3.016e-06/0.5672, allocations: 0 / 0.7087 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=115): time 0.01097/0.5782, allocations: 3.407 MB / 0.712 GB, free: 15.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.5783, allocations: 282 kB / 0.7123 GB, free: 15.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.5799, allocations: 1.066 MB / 0.7133 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.58, allocations: 45.7 kB / 0.7134 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.5805, allocations: 0.5791 MB / 0.7139 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.5808, allocations: 378.5 kB / 0.7143 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.5812, allocations: 194.6 kB / 0.7145 GB, free: 13.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5813, allocations: 345.9 kB / 0.7148 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5826, allocations: 0.5176 MB / 0.7153 GB, free: 12.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.5839, allocations: 0.6537 MB / 0.7159 GB, free: 11.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.5868, allocations: 1.509 MB / 0.7174 GB, free: 10.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5868, allocations: 0 / 0.7174 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006139/0.5929, allocations: 2.141 MB / 0.7195 GB, free: 7.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.5931, allocations: 207.9 kB / 0.7197 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005852/0.5989, allocations: 2.035 MB / 0.7217 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.6002, allocations: 438.1 kB / 0.7221 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.601, allocations: 147.7 kB / 0.7222 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.6122, allocations: 6.848 MB / 0.7289 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.6137, allocations: 119.1 kB / 0.729 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.614, allocations: 47.97 kB / 0.7291 GB, free: 13.49 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.001083/0.6151, allocations: 0.5159 MB / 0.7296 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.6156, allocations: 138.4 kB / 0.7297 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006335/0.6219, allocations: 2.199 MB / 0.7319 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.6219, allocations: 12 kB / 0.7319 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.622, allocations: 0 / 0.7319 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.622, allocations: 7.969 kB / 0.7319 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.6237, allocations: 1.333 MB / 0.7332 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005659/0.6294, allocations: 2.017 MB / 0.7352 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.63, allocations: 111.9 kB / 0.7353 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.6312, allocations: 426.2 kB / 0.7357 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.6313, allocations: 35.97 kB / 0.7357 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.6424, allocations: 6.832 MB / 0.7424 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6424, allocations: 0 / 0.7424 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006439/0.6489, allocations: 2.215 MB / 0.7446 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006947/0.6496, allocations: 363.1 kB / 0.7449 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.6499, allocations: 24 kB / 0.7449 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.651, allocations: 59.88 kB / 0.745 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.6513, allocations: 108.8 kB / 0.7451 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6514, allocations: 43.97 kB / 0.7451 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001094/0.6525, allocations: 0.7386 MB / 0.7458 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6525, allocations: 0 / 0.7458 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001322/0.6538, allocations: 415.2 kB / 0.7462 GB, free: 11.2 MB / 0.5762 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.007378/0.6612, allocations: 3.185 MB / 0.7493 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004436/0.6657, allocations: 2.318 MB / 0.7516 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6657, allocations: 4.062 kB / 0.7516 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/0.6684, allocations: 1.636 MB / 0.7532 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6695, allocations: 170.7 kB / 0.7534 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/0.6943, allocations: 11.61 MB / 0.7647 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000942/0.6953, allocations: 1.198 MB / 0.7659 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000765/0.6961, allocations: 200.4 kB / 0.7661 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/0.6968, allocations: 0.5149 MB / 0.7666 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.6968, allocations: 0 / 0.7666 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07418/0.771, allocations: 32.37 MB / 0.7982 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.08/20.85, allocations: 26 kB / 0.7982 GB, free: 5.832 MB / 0.6231 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)