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: translateModel(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample") translateModel(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 109.9 kB / 16.41 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.001643/0.001643, allocations: 183 kB / 17.34 MB, free: 5.766 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8912/0.8912, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.98 kB / 0.5962 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1787, allocations: 82.03 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.008675/0.1874, allocations: 6.628 MB / 0.6827 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007051/0.1945, allocations: 3.881 MB / 0.6865 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.1961, allocations: 27.88 kB / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009581/0.1971, allocations: 241.6 kB / 0.6868 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.1987, allocations: 409 kB / 0.6872 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.2008, allocations: 0.7483 MB / 0.6879 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.2034, allocations: 1.967 MB / 0.6898 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.2046, allocations: 0.6793 MB / 0.6905 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.2058, allocations: 0.7399 MB / 0.6912 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.2073, allocations: 0.8366 MB / 0.692 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006627/0.208, allocations: 188 kB / 0.6922 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.2091, allocations: 467.6 kB / 0.6927 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006703/0.2098, allocations: 442.5 kB / 0.6931 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.2111, allocations: 0.8121 MB / 0.6939 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/0.2133, allocations: 2.216 MB / 0.696 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2133, allocations: 0 / 0.696 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2133, allocations: 0 / 0.696 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.2134, allocations: 0 / 0.696 GB, free: 6.121 MB / 0.5294 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.003529/0.2169, allocations: 2.126 MB / 0.6981 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2169, allocations: 8.031 kB / 0.6981 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.2173, allocations: 186.9 kB / 0.6983 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.2186, allocations: 0.8863 MB / 0.6992 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.2189, allocations: 276.2 kB / 0.6994 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.219, allocations: 112 kB / 0.6995 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.2216, allocations: 1.376 MB / 0.7009 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2217, allocations: 0 / 0.7009 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.2218, allocations: 44 kB / 0.7009 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.2218, allocations: 24 kB / 0.7009 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.2245, allocations: 1.253 MB / 0.7022 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005897/0.2304, allocations: 4.476 MB / 0.7065 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.2326, allocations: 1.166 MB / 0.7077 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.234, allocations: 0.7531 MB / 0.7084 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.2347, allocations: 0.523 MB / 0.7089 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.2362, allocations: 0.7232 MB / 0.7096 GB, free: 7.547 MB / 0.545 GB Notification: Performance of pre-optimization done (n=115): time 2.736e-06/0.2362, allocations: 0 / 0.7096 GB, free: 7.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=115): time 0.01092/0.2471, allocations: 3.399 MB / 0.713 GB, free: 4.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.2473, allocations: 286 kB / 0.7132 GB, free: 3.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.2486, allocations: 1.073 MB / 0.7143 GB, free: 2.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-05/0.2487, allocations: 41.7 kB / 0.7143 GB, free: 2.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.2492, allocations: 0.5869 MB / 0.7149 GB, free: 1.965 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.2495, allocations: 374.4 kB / 0.7152 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.2498, allocations: 194.6 kB / 0.7154 GB, free: 1.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.25, allocations: 349.9 kB / 0.7158 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.2513, allocations: 0.5097 MB / 0.7163 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.2526, allocations: 0.6615 MB / 0.7169 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.2554, allocations: 1.512 MB / 0.7184 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2554, allocations: 0 / 0.7184 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005782/0.2612, allocations: 2.138 MB / 0.7205 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.2613, allocations: 218.2 kB / 0.7207 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00552/0.2668, allocations: 2.027 MB / 0.7227 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.2681, allocations: 430.2 kB / 0.7231 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.2688, allocations: 143.8 kB / 0.7232 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.2805, allocations: 6.854 MB / 0.7299 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.2819, allocations: 115.1 kB / 0.73 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/0.2822, allocations: 51.97 kB / 0.7301 GB, free: 1.656 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.001108/0.2833, allocations: 0.5122 MB / 0.7306 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/0.2838, allocations: 130.4 kB / 0.7307 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0061/0.2899, allocations: 2.203 MB / 0.7328 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.2899, allocations: 12 kB / 0.7328 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.29, allocations: 8 kB / 0.7329 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.29, allocations: 3.984 kB / 0.7329 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.2919, allocations: 1.333 MB / 0.7342 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005661/0.2976, allocations: 2.025 MB / 0.7361 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.2981, allocations: 115.8 kB / 0.7362 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.2993, allocations: 430.3 kB / 0.7367 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.2994, allocations: 35.97 kB / 0.7367 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.311, allocations: 6.827 MB / 0.7434 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.311, allocations: 96 / 0.7434 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006702/0.3177, allocations: 2.208 MB / 0.7455 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/0.3185, allocations: 363.1 kB / 0.7459 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.3189, allocations: 24 kB / 0.7459 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3199, allocations: 55.94 kB / 0.7459 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/0.3202, allocations: 112.8 kB / 0.746 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.3204, allocations: 47.91 kB / 0.7461 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.4103/0.7307, allocations: 0.7368 MB / 0.7468 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7307, allocations: 2.031 kB / 0.7468 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002257/0.733, allocations: 420.1 kB / 0.7472 GB, free: 67.25 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.001301/0.7343, allocations: 0.5128 MB / 0.7477 GB, free: 67.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004456/0.7388, allocations: 2.321 MB / 0.75 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7388, allocations: 3.719 kB / 0.75 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.7415, allocations: 1.64 MB / 0.7516 GB, free: 65.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.7424, allocations: 170.5 kB / 0.7517 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005052/0.7475, allocations: 2.658 MB / 0.7543 GB, free: 64.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.7486, allocations: 1.203 MB / 0.7555 GB, free: 63.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.749, allocations: 91.52 kB / 0.7556 GB, free: 63.72 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/0.749, allocations: 0 / 0.7556 GB, free: 63.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.05366/0.8026, allocations: 35.17 MB / 0.79 GB, free: 44.72 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.makefile (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 & ./BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1)