Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 89.06 kB / 19.64 MB, free: 272 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 173 kB / 23.02 MB, free: 1.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9266/0.9266, allocations: 177.1 MB / 203.4 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001592/0.001592, allocations: 226.4 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7673/0.7673, allocations: 138.5 MB / 455.2 MB, free: 1.48 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.777e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003467/0.003484, allocations: 3.676 MB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.006873, allocations: 3.661 MB / 0.5623 GB, free: 9.121 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.007043, allocations: 11.88 kB / 0.5623 GB, free: 9.109 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117: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 master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121: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 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.0003745/0.007417, allocations: 126.9 kB / 0.5624 GB, free: 8.984 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007467/0.008164, allocations: 0.5203 MB / 0.5629 GB, free: 8.461 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.008588, allocations: 363 kB / 0.5632 GB, free: 8.105 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.009098, allocations: 0.7835 MB / 0.564 GB, free: 7.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.009283, allocations: 126.4 kB / 0.5641 GB, free: 7.195 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004082/0.009691, allocations: 455 kB / 0.5646 GB, free: 6.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.009966, allocations: 251.2 kB / 0.5648 GB, free: 6.504 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.01003, allocations: 64 kB / 0.5649 GB, free: 6.441 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.01059, allocations: 0.542 MB / 0.5654 GB, free: 5.898 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.01072, allocations: 175.4 kB / 0.5656 GB, free: 5.727 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.01088, allocations: 211.4 kB / 0.5658 GB, free: 5.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008072/0.01169, allocations: 0.9187 MB / 0.5667 GB, free: 4.598 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01169, allocations: 0 / 0.5667 GB, free: 4.598 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01169, allocations: 0 / 0.5667 GB, free: 4.598 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.0117, allocations: 0 / 0.5667 GB, free: 4.598 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001158/0.01286, allocations: 1.065 MB / 0.5677 GB, free: 3.492 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01289, allocations: 8.75 kB / 0.5677 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.01418, allocations: 435.9 kB / 0.5681 GB, free: 3.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.01463, allocations: 464.9 kB / 0.5686 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.01474, allocations: 195.8 kB / 0.5688 GB, free: 2.348 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.0148, allocations: 48.38 kB / 0.5688 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.01559, allocations: 0.5934 MB / 0.5694 GB, free: 1.676 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.0156, allocations: 0 / 0.5694 GB, free: 1.676 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.01564, allocations: 20 kB / 0.5694 GB, free: 1.656 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01565, allocations: 19.92 kB / 0.5694 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.01618, allocations: 365.6 kB / 0.5698 GB, free: 1.277 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.01808, allocations: 1.4 MB / 0.5711 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.01912, allocations: 490.2 kB / 0.5716 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.0194, allocations: 165 kB / 0.5718 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.01987, allocations: 184.3 kB / 0.5719 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003588/0.02023, allocations: 259.8 kB / 0.5722 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 1.773e-06/0.02023, allocations: 4 kB / 0.5722 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0009158/0.02115, allocations: 0.5318 MB / 0.5727 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.02121, allocations: 107.3 kB / 0.5728 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.02156, allocations: 463.1 kB / 0.5732 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.0216, allocations: 33.7 kB / 0.5733 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.02176, allocations: 335.8 kB / 0.5736 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.02187, allocations: 190.4 kB / 0.5738 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.02203, allocations: 123.9 kB / 0.5739 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.02218, allocations: 0.5352 MB / 0.5744 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.02239, allocations: 121.2 kB / 0.5745 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.02271, allocations: 345.3 kB / 0.5749 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.02321, allocations: 417.4 kB / 0.5753 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.02322, allocations: 4 kB / 0.5753 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006859/0.0239, allocations: 0.501 MB / 0.5758 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.02392, allocations: 8 kB / 0.5758 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.02393, allocations: 3.984 kB / 0.5758 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.02394, allocations: 8 kB / 0.5758 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.02437, allocations: 159.7 kB / 0.5759 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.02438, allocations: 11.94 kB / 0.5759 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.02464, allocations: 83.83 kB / 0.576 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.02468, allocations: 27.97 kB / 0.576 GB, free: 10.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001615/0.02484, allocations: 200.3 kB / 0.5762 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.02494, allocations: 71.62 kB / 0.5763 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/0.02583, allocations: 0.5966 MB / 0.5769 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.02583, allocations: 4 kB / 0.5769 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02584, allocations: 0 / 0.5769 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.02584, allocations: 7.984 kB / 0.5769 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.02708, allocations: 1.1 MB / 0.578 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02708, allocations: 0 / 0.578 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.02756, allocations: 139.8 kB / 0.5781 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.02757, allocations: 4 kB / 0.5781 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.02761, allocations: 19.98 kB / 0.5781 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.02762, allocations: 4 kB / 0.5781 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02762, allocations: 0 / 0.5781 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008457/0.02847, allocations: 0.6325 MB / 0.5788 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.02863, allocations: 139.4 kB / 0.5789 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.02869, allocations: 12 kB / 0.5789 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.02893, allocations: 43.97 kB / 0.5789 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.02901, allocations: 44.5 kB / 0.579 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.02905, allocations: 23.98 kB / 0.579 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002016/0.02925, allocations: 299 kB / 0.5793 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02925, allocations: 0 / 0.5793 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000477/0.02973, allocations: 255.3 kB / 0.5795 GB, free: 6.898 MB / 0.4948 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,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.03084, allocations: 0.57 MB / 0.5801 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.03142, allocations: 397.3 kB / 0.5805 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.03142, allocations: 0.8125 kB / 0.5805 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.03171, allocations: 236.6 kB / 0.5807 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.03205, allocations: 89.88 kB / 0.5808 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.03346, allocations: 1.014 MB / 0.5818 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.129e-05/0.03355, allocations: 132.8 kB / 0.5819 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.03388, allocations: 140.3 kB / 0.582 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.03408, allocations: 76.44 kB / 0.5821 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of SimCode: time 7.72e-07/0.03408, allocations: 0 / 0.5821 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of Templates: time 0.01164/0.04572, allocations: 10.28 MB / 0.5921 GB, free: 10.15 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.19338658079505]