Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") translateModel(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009837/0.0009839, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009309/0.000931, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 271.1 kB / 291.3 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9598/0.9598, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004493, allocations: 16.62 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1857, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.004434/0.1902, allocations: 3.788 MB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.1952, allocations: 3.434 MB / 0.6915 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.1955, allocations: 7.938 kB / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.1959, allocations: 87.31 kB / 0.6916 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.1969, allocations: 405.9 kB / 0.692 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009341/0.1979, allocations: 424.5 kB / 0.6924 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008808/0.1987, allocations: 0.9447 MB / 0.6933 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.199, allocations: 177.4 kB / 0.6935 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.1994, allocations: 354.7 kB / 0.6939 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.2, allocations: 422.3 kB / 0.6943 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.04e-05/0.2001, allocations: 40 kB / 0.6943 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007938/0.2009, allocations: 483.5 kB / 0.6948 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.2011, allocations: 183.3 kB / 0.6949 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2013, allocations: 165.3 kB / 0.6951 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009298/0.2022, allocations: 0.9819 MB / 0.696 GB, free: 3.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2022, allocations: 0 / 0.696 GB, free: 3.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2022, allocations: 0 / 0.696 GB, free: 3.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2022, allocations: 0 / 0.696 GB, free: 3.602 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002143/0.2044, allocations: 1.051 MB / 0.6971 GB, free: 2.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2044, allocations: 8.031 kB / 0.6971 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.2073, allocations: 0.6077 MB / 0.6977 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.2086, allocations: 0.6583 MB / 0.6983 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.2089, allocations: 309.2 kB / 0.6986 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.209, allocations: 76 kB / 0.6987 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.2109, allocations: 1.023 MB / 0.6997 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.2109, allocations: 7.984 kB / 0.6997 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.211, allocations: 28 kB / 0.6997 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2111, allocations: 20 kB / 0.6997 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.2132, allocations: 1.05 MB / 0.7008 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.2181, allocations: 2.959 MB / 0.7037 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.2211, allocations: 1.41 MB / 0.705 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009131/0.2221, allocations: 449.5 kB / 0.7055 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002391/0.2245, allocations: 2.593 MB / 0.708 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.2256, allocations: 0.5399 MB / 0.7085 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.866e-06/0.2256, allocations: 4 kB / 0.7085 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003019/0.2286, allocations: 1.315 MB / 0.7098 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.2287, allocations: 119.8 kB / 0.7099 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.2293, allocations: 0.5029 MB / 0.7104 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.2294, allocations: 41.7 kB / 0.7104 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.2296, allocations: 328.1 kB / 0.7108 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.2299, allocations: 291.8 kB / 0.711 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.2299, allocations: 24 kB / 0.7111 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2301, allocations: 374.8 kB / 0.7114 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009041/0.231, allocations: 393.7 kB / 0.7118 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/0.232, allocations: 0.5278 MB / 0.7123 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/0.233, allocations: 434.8 kB / 0.7127 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.233, allocations: 0 / 0.7127 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002442/0.2355, allocations: 1.098 MB / 0.7138 GB, free: 404 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2355, allocations: 4 kB / 0.7138 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2355, allocations: 8.266 kB / 0.7138 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.2355, allocations: 12 kB / 0.7138 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.2367, allocations: 247.6 kB / 0.7141 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.2367, allocations: 8 kB / 0.7141 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.2376, allocations: 131 kB / 0.7142 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.2377, allocations: 51.89 kB / 0.7142 GB, free: 15.94 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weaDat.weatherData.conTim.tNext,weaDat.weatherData.conTim.tNext,radEast.outsidePolarCircle,radSouth.outsidePolarCircle,radWest.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004179/0.2381, allocations: 227.7 kB / 0.7145 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2383, allocations: 75.03 kB / 0.7145 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.2415, allocations: 1.415 MB / 0.7159 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2415, allocations: 12 kB / 0.7159 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2415, allocations: 0 / 0.7159 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.2415, allocations: 7.969 kB / 0.7159 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/0.2452, allocations: 2.211 MB / 0.7181 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2452, allocations: 0 / 0.7181 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.2463, allocations: 235.7 kB / 0.7183 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.2463, allocations: 8 kB / 0.7183 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.2464, allocations: 35.97 kB / 0.7184 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.2464, allocations: 7.953 kB / 0.7184 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2464, allocations: 0 / 0.7184 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.2487, allocations: 1.21 MB / 0.7195 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.2491, allocations: 275.8 kB / 0.7198 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.2492, allocations: 20 kB / 0.7198 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.2499, allocations: 70.59 kB / 0.7199 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.25, allocations: 80.84 kB / 0.72 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-05/0.2501, allocations: 39.97 kB / 0.72 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004227/0.2505, allocations: 354.8 kB / 0.7203 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2506, allocations: 0 / 0.7203 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008878/0.2515, allocations: 299.6 kB / 0.7206 GB, free: 9.281 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weaDat.weatherData.conTim.tNext) * Number of discrete states: 1 (weaDat.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001279/0.2527, allocations: 0.5254 MB / 0.7211 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.2551, allocations: 1.009 MB / 0.7221 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2551, allocations: 0 / 0.7221 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.2563, allocations: 0.5758 MB / 0.7227 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.257, allocations: 108.3 kB / 0.7228 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.2599, allocations: 1.884 MB / 0.7246 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.2605, allocations: 0.9741 MB / 0.7256 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001064/0.2615, allocations: 225.8 kB / 0.7258 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.2619, allocations: 111.4 kB / 0.7259 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.2619, allocations: 0 / 0.7259 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of Templates: time 0.01874/0.2807, allocations: 11.26 MB / 0.7369 GB, free: 8.77 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.sim & ./BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure.pipe 2>&1)