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.00101/0.00101, allocations: 112.2 kB / 16.42 MB, free: 6.488 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.001168/0.001168, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 276.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4128, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Constructions.Shadowing.Examples.Embrasure): time 0.005999/0.4189, allocations: 4.379 MB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00605/0.425, allocations: 3.668 MB / 0.7749 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006132/0.4256, allocations: 4 kB / 0.7749 GB, free: 11.85 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:5:3-7:56:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:8:3-10:54:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:5:3-7:56:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:8:3-10:54:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:5:3-7:56:writable] Warning: Connector radiationPort_in is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/BaseClasses/ShadowingElementGeneral.mo:8:3-10:54:writable] Warning: Connector radiationPort_out is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.4263, allocations: 126 kB / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.4281, allocations: 493.1 kB / 0.7755 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.4294, allocations: 0.5361 MB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.4308, allocations: 1.093 MB / 0.7771 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.4312, allocations: 226.6 kB / 0.7773 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.4319, allocations: 434.6 kB / 0.7777 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008362/0.4327, allocations: 0.4942 MB / 0.7782 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.433, allocations: 92 kB / 0.7783 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.4343, allocations: 0.5463 MB / 0.7788 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.4346, allocations: 243.3 kB / 0.7791 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.4351, allocations: 473.6 kB / 0.7795 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.437, allocations: 1.377 MB / 0.7808 GB, free: 5.742 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4371, allocations: 0 / 0.7808 GB, free: 5.742 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4371, allocations: 0 / 0.7808 GB, free: 5.742 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.888e-05/0.4371, allocations: 0 / 0.7808 GB, free: 5.742 MB / 0.545 GB 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.003124/0.4402, allocations: 1.219 MB / 0.782 GB, free: 4.469 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4403, allocations: 8.031 kB / 0.782 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.4437, allocations: 0.5891 MB / 0.7826 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.4455, allocations: 0.671 MB / 0.7833 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.4458, allocations: 305.9 kB / 0.7836 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.446, allocations: 79.94 kB / 0.7836 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.4482, allocations: 1.023 MB / 0.7846 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4482, allocations: 0 / 0.7846 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.4483, allocations: 32 kB / 0.7847 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.4483, allocations: 20 kB / 0.7847 GB, free: 1.621 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.4509, allocations: 1.046 MB / 0.7857 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005523/0.4564, allocations: 2.947 MB / 0.7886 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.4599, allocations: 1.389 MB / 0.7899 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.4609, allocations: 449.9 kB / 0.7904 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002866/0.4638, allocations: 2.601 MB / 0.7929 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.4651, allocations: 0.5516 MB / 0.7935 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 4.178e-06/0.4651, allocations: 0 / 0.7935 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.00341/0.4685, allocations: 1.315 MB / 0.7947 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.4686, allocations: 111.8 kB / 0.7948 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.4694, allocations: 0.5106 MB / 0.7953 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.4695, allocations: 41.7 kB / 0.7954 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.4697, allocations: 324.2 kB / 0.7957 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.47, allocations: 299.7 kB / 0.796 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.4704, allocations: 202.4 kB / 0.7962 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4705, allocations: 374.8 kB / 0.7965 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009876/0.4715, allocations: 385.7 kB / 0.7969 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.4727, allocations: 0.5317 MB / 0.7974 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.4749, allocations: 0.9175 MB / 0.7983 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4749, allocations: 3.938 kB / 0.7983 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002619/0.4775, allocations: 1.094 MB / 0.7994 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4776, allocations: 8 kB / 0.7994 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4776, allocations: 4 kB / 0.7994 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.4776, allocations: 11.98 kB / 0.7994 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.4789, allocations: 243.9 kB / 0.7996 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.4789, allocations: 11.94 kB / 0.7997 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.4799, allocations: 126.9 kB / 0.7998 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.48, allocations: 55.83 kB / 0.7998 GB, free: 1.223 MB / 0.5606 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 (weaDat.weatherData.conTim.tNext,$PRE.weaDat.weatherData.conTim.tNext,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000412/0.4804, allocations: 226.6 kB / 0.8 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.4806, allocations: 75.06 kB / 0.8001 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.4841, allocations: 1.384 MB / 0.8015 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.4841, allocations: 7.969 kB / 0.8015 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4841, allocations: 4 kB / 0.8015 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.4846, allocations: 271.6 kB / 0.8017 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.4848, allocations: 20 kB / 0.8018 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/0.4856, allocations: 67.92 kB / 0.8018 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.4857, allocations: 76.84 kB / 0.8019 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003169/0.4889, allocations: 1.235 MB / 0.8031 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002621/0.4915, allocations: 1.287 MB / 0.8044 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001116/0.4927, allocations: 0.5269 MB / 0.8049 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004663/0.4932, allocations: 354.8 kB / 0.8052 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of Backend: time 6.11e-07/0.4932, allocations: 0 / 0.8052 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003614/0.4968, allocations: 1.219 MB / 0.8064 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00233/0.4991, allocations: 1.63 MB / 0.808 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of Templates: time 0.02578/0.5249, allocations: 14.95 MB / 0.8226 GB, free: 10.06 MB / 0.5919 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)