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.000977/0.000977, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009697/0.0009697, allocations: 170 kB / 23.27 MB, free: 1.223 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.9679/0.9679, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001659/0.001659, allocations: 237.3 kB / 260.5 MB, free: 12.66 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.7735/0.7735, allocations: 138.5 MB / 455.5 MB, free: 1.422 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.804e-06/1.804e-06, allocations: 0 / 0.5556 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.606e-05, allocations: 2.312 kB / 0.5556 GB, free: 288 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.004559/0.004585, allocations: 3.617 MB / 0.5591 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.009038, allocations: 3.642 MB / 0.5627 GB, free: 8.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.009425, allocations: 11.88 kB / 0.5627 GB, free: 8.969 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.0004342/0.009859, allocations: 122.9 kB / 0.5628 GB, free: 8.848 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.01105, allocations: 0.5241 MB / 0.5633 GB, free: 8.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.01165, allocations: 359 kB / 0.5636 GB, free: 7.969 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.01226, allocations: 0.7758 MB / 0.5644 GB, free: 7.191 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.01249, allocations: 130.4 kB / 0.5645 GB, free: 7.062 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009141/0.0134, allocations: 462.9 kB / 0.565 GB, free: 6.609 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.01373, allocations: 251.3 kB / 0.5652 GB, free: 6.363 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/0.0138, allocations: 64 kB / 0.5653 GB, free: 6.301 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008006/0.0146, allocations: 0.5382 MB / 0.5658 GB, free: 5.762 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.01472, allocations: 167.4 kB / 0.566 GB, free: 5.598 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.01487, allocations: 215.4 kB / 0.5662 GB, free: 5.387 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009955/0.01587, allocations: 0.9148 MB / 0.567 GB, free: 4.469 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.01587, allocations: 0 / 0.567 GB, free: 4.469 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01587, allocations: 4 kB / 0.5671 GB, free: 4.465 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.01588, allocations: 0 / 0.5671 GB, free: 4.465 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.001213/0.01709, allocations: 1.076 MB / 0.5681 GB, free: 3.348 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.01714, allocations: 8.75 kB / 0.5681 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.01836, allocations: 392 kB / 0.5685 GB, free: 2.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.01881, allocations: 452.9 kB / 0.5689 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.01894, allocations: 199.8 kB / 0.5691 GB, free: 2.254 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.019, allocations: 52.38 kB / 0.5692 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.01968, allocations: 0.5503 MB / 0.5697 GB, free: 1.621 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.01969, allocations: 4 kB / 0.5697 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.01973, allocations: 16 kB / 0.5697 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.01974, allocations: 8 kB / 0.5697 GB, free: 1.594 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.02011, allocations: 298.6 kB / 0.57 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.02191, allocations: 1.322 MB / 0.5713 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.02277, allocations: 442.7 kB / 0.5717 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.02297, allocations: 137.1 kB / 0.5719 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.02372, allocations: 204.1 kB / 0.572 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.02401, allocations: 243.7 kB / 0.5723 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.445e-06/0.02401, allocations: 4 kB / 0.5723 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0006823/0.0247, allocations: 472.6 kB / 0.5727 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.02474, allocations: 107.3 kB / 0.5728 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.02503, allocations: 450.5 kB / 0.5733 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.02507, allocations: 37.7 kB / 0.5733 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.02523, allocations: 335.8 kB / 0.5736 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.02534, allocations: 194.3 kB / 0.5738 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.02548, allocations: 127.9 kB / 0.5739 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.02563, allocations: 0.539 MB / 0.5745 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.02577, allocations: 93.2 kB / 0.5745 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.02601, allocations: 321.3 kB / 0.5749 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.0264, allocations: 377.3 kB / 0.5752 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02641, allocations: 0 / 0.5752 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005659/0.02697, allocations: 461.1 kB / 0.5757 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.02699, allocations: 4 kB / 0.5757 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.027, allocations: 4 kB / 0.5757 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.02701, allocations: 11.98 kB / 0.5757 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.02742, allocations: 151.8 kB / 0.5758 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.02742, allocations: 11.94 kB / 0.5758 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.02769, allocations: 75.73 kB / 0.5759 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.02773, allocations: 27.97 kB / 0.5759 GB, free: 10.96 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 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * 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.0001588/0.02789, allocations: 200 kB / 0.5761 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.02798, allocations: 71.62 kB / 0.5762 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/0.02873, allocations: 0.5536 MB / 0.5767 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.02873, allocations: 8 kB / 0.5767 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.02873, allocations: 0 / 0.5767 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.02874, allocations: 3.984 kB / 0.5767 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.02979, allocations: 0.9837 MB / 0.5777 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02979, allocations: 0 / 0.5777 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.03012, allocations: 131.8 kB / 0.5778 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.03013, allocations: 0 / 0.5778 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.03016, allocations: 23.98 kB / 0.5778 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.03016, allocations: 0 / 0.5778 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.03016, allocations: 7.938 kB / 0.5779 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.03071, allocations: 0.5777 MB / 0.5784 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.03087, allocations: 131.4 kB / 0.5785 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.03092, allocations: 15.98 kB / 0.5786 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.03114, allocations: 35.98 kB / 0.5786 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.03121, allocations: 44.56 kB / 0.5786 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.03124, allocations: 19.98 kB / 0.5787 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003536/0.03159, allocations: 283 kB / 0.5789 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03159, allocations: 4 kB / 0.5789 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005558/0.03215, allocations: 251.3 kB / 0.5792 GB, free: 7.566 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.001057/0.03321, allocations: 0.5689 MB / 0.5797 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.03369, allocations: 345.4 kB / 0.5801 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.03369, allocations: 0.8125 kB / 0.5801 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.03391, allocations: 212.5 kB / 0.5803 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.03425, allocations: 100.6 kB / 0.5804 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.03569, allocations: 0.9867 MB / 0.5813 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.858e-05/0.03579, allocations: 132.8 kB / 0.5814 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000387/0.03618, allocations: 132.3 kB / 0.5816 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.03657, allocations: 202.1 kB / 0.5818 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of SimCode: time 1.773e-06/0.03657, allocations: 0 / 0.5818 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of Templates: time 0.01344/0.05001, allocations: 10.5 MB / 0.592 GB, free: 10.57 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.156364094931632]