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.004682/0.004682, allocations: 105.8 kB / 15.74 MB, free: 5.992 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.001182/0.001182, allocations: 194 kB / 16.67 MB, free: 5.914 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.193/1.193, allocations: 222.9 MB / 240.3 MB, free: 15.15 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.7824/0.7824, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 65.41 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.119, allocations: 82.03 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006736/0.1257, allocations: 6.635 MB / 0.6821 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004835/0.1306, allocations: 3.869 MB / 0.6859 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.131, allocations: 31.88 kB / 0.6859 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.1315, allocations: 237.7 kB / 0.6861 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007501/0.1323, allocations: 413 kB / 0.6865 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1335, allocations: 0.7522 MB / 0.6872 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001553/0.1351, allocations: 1.959 MB / 0.6892 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007703/0.1359, allocations: 0.6832 MB / 0.6898 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.1365, allocations: 0.732 MB / 0.6905 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008607/0.1374, allocations: 0.8444 MB / 0.6914 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.1377, allocations: 184 kB / 0.6915 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.1383, allocations: 471.5 kB / 0.692 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.1386, allocations: 438.5 kB / 0.6924 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.1393, allocations: 0.816 MB / 0.6932 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.141, allocations: 2.219 MB / 0.6954 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.141, allocations: 0 / 0.6954 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.141, allocations: 0 / 0.6954 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.141, allocations: 0 / 0.6954 GB, free: 6.008 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.003242/0.1443, allocations: 2.125 MB / 0.6974 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.1443, allocations: 12.03 kB / 0.6975 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.1447, allocations: 182.9 kB / 0.6976 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1458, allocations: 0.8902 MB / 0.6985 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.1461, allocations: 276.2 kB / 0.6988 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.1463, allocations: 112 kB / 0.6989 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.1487, allocations: 1.373 MB / 0.7002 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1488, allocations: 0 / 0.7002 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.1489, allocations: 51.98 kB / 0.7003 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1489, allocations: 24 kB / 0.7003 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.1515, allocations: 1.254 MB / 0.7015 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005631/0.1572, allocations: 4.476 MB / 0.7059 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.1594, allocations: 1.165 MB / 0.707 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.1608, allocations: 0.75 MB / 0.7077 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.1613, allocations: 0.5204 MB / 0.7083 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/0.1628, allocations: 0.7194 MB / 0.709 GB, free: 7.441 MB / 0.545 GB Notification: Performance of pre-optimization done (n=115): time 2.635e-06/0.1628, allocations: 0 / 0.709 GB, free: 7.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=115): time 0.0103/0.1731, allocations: 3.41 MB / 0.7123 GB, free: 3.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.1732, allocations: 286 kB / 0.7126 GB, free: 3.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1744, allocations: 1.066 MB / 0.7136 GB, free: 2.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.052e-05/0.1745, allocations: 53.69 kB / 0.7137 GB, free: 2.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.1749, allocations: 0.5791 MB / 0.7142 GB, free: 1.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.1752, allocations: 374.5 kB / 0.7146 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/0.1755, allocations: 194.6 kB / 0.7148 GB, free: 1.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1757, allocations: 349.8 kB / 0.7151 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.1769, allocations: 0.5137 MB / 0.7156 GB, free: 432 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.1782, allocations: 0.6538 MB / 0.7162 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.1808, allocations: 1.52 MB / 0.7177 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1808, allocations: 0 / 0.7177 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005517/0.1864, allocations: 2.134 MB / 0.7198 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.1865, allocations: 207.9 kB / 0.72 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005296/0.1918, allocations: 2.039 MB / 0.722 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.193, allocations: 426.2 kB / 0.7224 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.1936, allocations: 143.8 kB / 0.7225 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.204, allocations: 6.85 MB / 0.7292 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.2049, allocations: 119.1 kB / 0.7293 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.205, allocations: 47.97 kB / 0.7294 GB, free: 1.547 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.0005718/0.2056, allocations: 0.512 MB / 0.7299 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.2058, allocations: 138.3 kB / 0.73 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/0.2115, allocations: 2.193 MB / 0.7322 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.2115, allocations: 8 kB / 0.7322 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2115, allocations: 4 kB / 0.7322 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2115, allocations: 7.969 kB / 0.7322 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.2129, allocations: 1.337 MB / 0.7335 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00536/0.2182, allocations: 2.025 MB / 0.7355 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.2187, allocations: 107.9 kB / 0.7356 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.2198, allocations: 434.4 kB / 0.736 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-05/0.2199, allocations: 31.97 kB / 0.736 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.2302, allocations: 6.839 MB / 0.7427 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2302, allocations: 0 / 0.7427 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.2358, allocations: 2.2 MB / 0.7448 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.2363, allocations: 363.1 kB / 0.7452 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.2365, allocations: 27.98 kB / 0.7452 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.2373, allocations: 55.94 kB / 0.7453 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.2375, allocations: 116.7 kB / 0.7454 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.2376, allocations: 43.97 kB / 0.7454 GB, free: 420 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.2515/0.4891, allocations: 0.7356 MB / 0.7461 GB, free: 67.13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.31e-07/0.4892, allocations: 0.5 kB / 0.7461 GB, free: 67.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001734/0.4909, allocations: 422.8 kB / 0.7465 GB, free: 67.13 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.001192/0.4921, allocations: 0.5144 MB / 0.747 GB, free: 67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004067/0.4962, allocations: 2.321 MB / 0.7493 GB, free: 66.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4962, allocations: 0 / 0.7493 GB, free: 66.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.4985, allocations: 1.638 MB / 0.7509 GB, free: 65.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000838/0.4994, allocations: 172.3 kB / 0.7511 GB, free: 65.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.5038, allocations: 2.599 MB / 0.7536 GB, free: 64.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/0.5046, allocations: 1.207 MB / 0.7548 GB, free: 63.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000652/0.5053, allocations: 196.7 kB / 0.755 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.5055, allocations: 78.91 kB / 0.7551 GB, free: 63.69 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.5056, allocations: 2.906 kB / 0.7551 GB, free: 63.69 MB / 0.5762 GB Notification: Performance of Templates: time 0.03125/0.5368, allocations: 21.68 MB / 0.7762 GB, free: 56.45 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)