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.001171/0.001171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001171/0.001171, allocations: 190 kB / 16.25 MB, free: 6.625 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.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.8953/0.8953, allocations: 143 MB / 433.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 63.89 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1416, allocations: 82.04 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006783/0.1485, allocations: 6.57 MB / 0.6003 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.243/0.3915, allocations: 3.79 MB / 0.604 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.3926, allocations: 23.5 kB / 0.604 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.3931, allocations: 188.4 kB / 0.6042 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007516/0.3939, allocations: 339.1 kB / 0.6045 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.3952, allocations: 0.6696 MB / 0.6052 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.3965, allocations: 1.957 MB / 0.6071 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006826/0.3972, allocations: 0.6827 MB / 0.6078 GB, free: 36.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.3978, allocations: 0.7406 MB / 0.6085 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006971/0.3985, allocations: 0.8437 MB / 0.6093 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.3987, allocations: 189.1 kB / 0.6095 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.3992, allocations: 457.6 kB / 0.6099 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.3995, allocations: 447.5 kB / 0.6104 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.4, allocations: 0.8212 MB / 0.6112 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.4013, allocations: 2.177 MB / 0.6133 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4013, allocations: 0 / 0.6133 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4013, allocations: 0 / 0.6133 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.4013, allocations: 0 / 0.6133 GB, free: 35.09 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.002982/0.4043, allocations: 2.13 MB / 0.6154 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4044, allocations: 11.59 kB / 0.6154 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.4046, allocations: 179.8 kB / 0.6156 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.4049, allocations: 193.8 kB / 0.6157 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.4058, allocations: 0.8738 MB / 0.6166 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.406, allocations: 272.7 kB / 0.6169 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4061, allocations: 110.1 kB / 0.617 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.4084, allocations: 1.377 MB / 0.6183 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.4084, allocations: 0 / 0.6183 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4085, allocations: 49.27 kB / 0.6183 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.4085, allocations: 24.53 kB / 0.6184 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.4109, allocations: 1.246 MB / 0.6196 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.416, allocations: 4.53 MB / 0.624 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.4179, allocations: 1.16 MB / 0.6251 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.419, allocations: 0.7452 MB / 0.6259 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.4195, allocations: 0.5261 MB / 0.6264 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.4208, allocations: 0.7104 MB / 0.6271 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.136e-06/0.4208, allocations: 4 kB / 0.6271 GB, free: 27.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.009779/0.4306, allocations: 3.401 MB / 0.6304 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.4307, allocations: 285.1 kB / 0.6307 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.4318, allocations: 1.069 MB / 0.6317 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/0.4319, allocations: 43.05 kB / 0.6318 GB, free: 25.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.4322, allocations: 0.5882 MB / 0.6323 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.4324, allocations: 377.1 kB / 0.6327 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/0.4327, allocations: 192.9 kB / 0.6329 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.4328, allocations: 346.5 kB / 0.6332 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.4338, allocations: 0.5103 MB / 0.6337 GB, free: 23.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.4349, allocations: 0.6558 MB / 0.6343 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.4371, allocations: 1.507 MB / 0.6358 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4371, allocations: 0 / 0.6358 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00542/0.4425, allocations: 2.136 MB / 0.6379 GB, free: 21.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/0.4426, allocations: 212.7 kB / 0.6381 GB, free: 21.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005181/0.4478, allocations: 2.04 MB / 0.6401 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.449, allocations: 436.9 kB / 0.6405 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.4496, allocations: 143.1 kB / 0.6407 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009427/0.459, allocations: 6.86 MB / 0.6474 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.4602, allocations: 122.4 kB / 0.6475 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.4604, allocations: 52.03 kB / 0.6475 GB, free: 14.99 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.0006125/0.461, allocations: 0.4991 MB / 0.648 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.4612, allocations: 140 kB / 0.6481 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005676/0.4669, allocations: 2.235 MB / 0.6503 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4669, allocations: 8.906 kB / 0.6503 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4669, allocations: 3.922 kB / 0.6503 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4669, allocations: 8.359 kB / 0.6503 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4685, allocations: 1.344 MB / 0.6517 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005179/0.4737, allocations: 2.02 MB / 0.6536 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.4742, allocations: 117.3 kB / 0.6537 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.4753, allocations: 430.5 kB / 0.6542 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.4754, allocations: 35.59 kB / 0.6542 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00939/0.4848, allocations: 6.833 MB / 0.6609 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4848, allocations: 0 / 0.6609 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005775/0.4906, allocations: 2.201 MB / 0.663 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.4911, allocations: 365.7 kB / 0.6634 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.4913, allocations: 22.52 kB / 0.6634 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/0.4921, allocations: 64.42 kB / 0.6634 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.4924, allocations: 116.3 kB / 0.6635 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.732e-05/0.4925, allocations: 43.44 kB / 0.6636 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009096/0.4935, allocations: 0.739 MB / 0.6643 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4935, allocations: 0.8438 kB / 0.6643 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001198/0.4947, allocations: 424 kB / 0.6647 GB, free: 5.027 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.006802/0.5015, allocations: 3.192 MB / 0.6678 GB, free: 19.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004529/0.506, allocations: 2.467 MB / 0.6702 GB, free: 18.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.506, allocations: 0 / 0.6702 GB, free: 18.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.5085, allocations: 1.638 MB / 0.6718 GB, free: 16.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.5093, allocations: 168.1 kB / 0.672 GB, free: 16.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/0.5329, allocations: 12.67 MB / 0.6844 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.5336, allocations: 1.205 MB / 0.6856 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007466/0.5344, allocations: 203.6 kB / 0.6858 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.535, allocations: 0.5073 MB / 0.6862 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.535, allocations: 4 kB / 0.6862 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05507/0.5901, allocations: 31.29 MB / 0.7168 GB, free: 11.28 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/0.5905, allocations: 330.1 kB / 0.7171 GB, free: 10.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.921, allocations: 3.75 kB / 0.7171 GB, free: 10.9 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)