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.001155/0.001155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.043/1.043, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2081, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.009721/0.2178, allocations: 6.625 MB / 0.6009 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4226/0.6405, allocations: 3.864 MB / 0.6046 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.6431, allocations: 24.88 kB / 0.6047 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.6445, allocations: 235.7 kB / 0.6049 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.6469, allocations: 408.9 kB / 0.6053 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.6497, allocations: 0.7526 MB / 0.606 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002735/0.6524, allocations: 1.946 MB / 0.6079 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008293/0.6532, allocations: 0.6865 MB / 0.6086 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.654, allocations: 0.7348 MB / 0.6093 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008136/0.6548, allocations: 0.8379 MB / 0.6101 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.6551, allocations: 188.5 kB / 0.6103 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008116/0.6559, allocations: 460 kB / 0.6107 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.6563, allocations: 444.2 kB / 0.6111 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.657, allocations: 0.8168 MB / 0.6119 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.659, allocations: 2.176 MB / 0.6141 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6591, allocations: 0 / 0.6141 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6591, allocations: 0 / 0.6141 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.398e-05/0.6591, allocations: 2.844 kB / 0.6141 GB, free: 35.18 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.003785/0.6629, allocations: 2.126 MB / 0.6162 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.663, allocations: 10.62 kB / 0.6162 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.6632, allocations: 178.6 kB / 0.6163 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005484/0.6637, allocations: 184.5 kB / 0.6165 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.665, allocations: 0.8743 MB / 0.6174 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/0.6653, allocations: 273.6 kB / 0.6176 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.6655, allocations: 113 kB / 0.6177 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.6681, allocations: 1.383 MB / 0.6191 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.6682, allocations: 0 / 0.6191 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.6683, allocations: 52.64 kB / 0.6191 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.6684, allocations: 25.81 kB / 0.6192 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.671, allocations: 1.256 MB / 0.6204 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005841/0.6768, allocations: 4.52 MB / 0.6248 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.679, allocations: 1.161 MB / 0.6259 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.6804, allocations: 0.7466 MB / 0.6267 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.681, allocations: 0.5201 MB / 0.6272 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.6824, allocations: 0.718 MB / 0.6279 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.697e-06/0.6825, allocations: 0 / 0.6279 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.01067/0.6931, allocations: 3.399 MB / 0.6312 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.6932, allocations: 284.7 kB / 0.6315 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.6947, allocations: 1.067 MB / 0.6325 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/0.6948, allocations: 45.95 kB / 0.6325 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.6952, allocations: 0.5795 MB / 0.6331 GB, free: 24.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.6954, allocations: 377.8 kB / 0.6335 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.6958, allocations: 191.8 kB / 0.6337 GB, free: 24.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.6959, allocations: 354.2 kB / 0.634 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.6971, allocations: 0.5043 MB / 0.6345 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.6983, allocations: 0.6648 MB / 0.6351 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.7009, allocations: 1.513 MB / 0.6366 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7009, allocations: 3.031 kB / 0.6366 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006176/0.7071, allocations: 2.134 MB / 0.6387 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.7072, allocations: 217.1 kB / 0.6389 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005886/0.7131, allocations: 2.032 MB / 0.6409 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.7144, allocations: 438.4 kB / 0.6413 GB, free: 20.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.7151, allocations: 143.5 kB / 0.6414 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.7268, allocations: 6.855 MB / 0.6481 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.7285, allocations: 113.4 kB / 0.6482 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.7287, allocations: 53.09 kB / 0.6483 GB, free: 14.93 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.0009767/0.7297, allocations: 0.5068 MB / 0.6488 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.73, allocations: 134.5 kB / 0.6489 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0065/0.7365, allocations: 2.201 MB / 0.6511 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.7366, allocations: 13.44 kB / 0.6511 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.7366, allocations: 8.312 kB / 0.6511 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.7366, allocations: 8.344 kB / 0.6511 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.739, allocations: 1.346 MB / 0.6524 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006099/0.7451, allocations: 2.014 MB / 0.6544 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.7457, allocations: 109.6 kB / 0.6545 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.747, allocations: 435.8 kB / 0.6549 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.7471, allocations: 35 kB / 0.6549 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.7592, allocations: 6.844 MB / 0.6616 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7592, allocations: 0 / 0.6616 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007537/0.7667, allocations: 2.199 MB / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008787/0.7677, allocations: 364.4 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.7679, allocations: 24.48 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/0.7689, allocations: 54.42 kB / 0.6642 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005074/0.7694, allocations: 116.7 kB / 0.6643 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.7695, allocations: 43.12 kB / 0.6643 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001382/0.7709, allocations: 0.7393 MB / 0.6651 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.41e-07/0.7709, allocations: 1.281 kB / 0.6651 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002272/0.7732, allocations: 420.8 kB / 0.6655 GB, free: 4.977 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.007983/0.7812, allocations: 3.19 MB / 0.6686 GB, free: 19.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005939/0.7871, allocations: 2.461 MB / 0.671 GB, free: 17.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.7872, allocations: 1.406 kB / 0.671 GB, free: 17.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/0.7903, allocations: 1.641 MB / 0.6726 GB, free: 16.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.7915, allocations: 169.3 kB / 0.6727 GB, free: 16.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/0.8206, allocations: 12.15 MB / 0.6846 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.8219, allocations: 1.205 MB / 0.6858 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001184/0.8231, allocations: 198 kB / 0.686 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008595/0.824, allocations: 0.5141 MB / 0.6865 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.824, allocations: 4 kB / 0.6865 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07578/0.8998, allocations: 31.22 MB / 0.717 GB, free: 11.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.72, allocations: 22.27 kB / 0.717 GB, free: 11.39 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)