Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.0008536/0.0008536, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.001762/0.001762, allocations: 173 kB / 23.28 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.9916/0.9916, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.002014/0.002014, allocations: 238.2 kB / 260.5 MB, free: 12.67 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.7264/0.7264, allocations: 138.4 MB / 455.5 MB, free: 30.03 MB / 410.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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5555 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.315e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.01055/0.01057, allocations: 3.586 MB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007678/0.01825, allocations: 3.662 MB / 0.5626 GB, free: 8.652 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003744/0.01862, allocations: 19.88 kB / 0.5626 GB, free: 8.633 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.0004629/0.01909, allocations: 126.9 kB / 0.5628 GB, free: 8.508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004314/0.0234, allocations: 0.5047 MB / 0.5632 GB, free: 8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008078/0.02421, allocations: 398.9 kB / 0.5636 GB, free: 7.609 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.02505, allocations: 0.8423 MB / 0.5645 GB, free: 6.766 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.02829, allocations: 130.4 kB / 0.5646 GB, free: 6.637 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007348/0.02903, allocations: 494.9 kB / 0.565 GB, free: 6.152 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.02948, allocations: 279.2 kB / 0.5653 GB, free: 5.879 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.02959, allocations: 79.94 kB / 0.5654 GB, free: 5.801 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.03058, allocations: 0.55 MB / 0.5659 GB, free: 5.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.03074, allocations: 179.4 kB / 0.5661 GB, free: 5.074 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.03094, allocations: 231.4 kB / 0.5663 GB, free: 4.848 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.03516, allocations: 0.9655 MB / 0.5673 GB, free: 3.879 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.03517, allocations: 0 / 0.5673 GB, free: 3.879 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.03517, allocations: 0 / 0.5673 GB, free: 3.879 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.03517, allocations: 0 / 0.5673 GB, free: 3.879 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.001629/0.0368, allocations: 1.088 MB / 0.5683 GB, free: 2.754 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.03684, allocations: 13.94 kB / 0.5683 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.03895, allocations: 400 kB / 0.5687 GB, free: 2.352 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.03942, allocations: 456.8 kB / 0.5692 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.03961, allocations: 195.8 kB / 0.5693 GB, free: 1.648 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.03967, allocations: 48.38 kB / 0.5694 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.04027, allocations: 0.5304 MB / 0.5699 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.04028, allocations: 0 / 0.5699 GB, free: 1.035 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.04032, allocations: 20 kB / 0.5699 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.04032, allocations: 12 kB / 0.5699 GB, free: 1.004 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.04066, allocations: 302.6 kB / 0.5702 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.04283, allocations: 1.407 MB / 0.5716 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.04359, allocations: 422.7 kB / 0.572 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.04379, allocations: 149.1 kB / 0.5721 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004661/0.04426, allocations: 207.6 kB / 0.5723 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.04455, allocations: 251.7 kB / 0.5726 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 2.394e-06/0.04456, allocations: 0 / 0.5726 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.004577/0.04913, allocations: 1.257 MB / 0.5738 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.04918, allocations: 107.3 kB / 0.5739 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.04946, allocations: 434.5 kB / 0.5743 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.0495, allocations: 33.7 kB / 0.5744 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.04965, allocations: 335.8 kB / 0.5747 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.04976, allocations: 190.3 kB / 0.5749 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.0499, allocations: 135.8 kB / 0.575 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.05004, allocations: 0.5429 MB / 0.5755 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.05019, allocations: 101.2 kB / 0.5756 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.05043, allocations: 333.2 kB / 0.5759 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.05089, allocations: 393.3 kB / 0.5763 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.05089, allocations: 0 / 0.5763 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002547/0.05344, allocations: 0.9024 MB / 0.5772 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.05346, allocations: 7.938 kB / 0.5772 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.05347, allocations: 4 kB / 0.5772 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/0.05645, allocations: 0.6239 MB / 0.5778 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.05705, allocations: 139.8 kB / 0.5779 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.06135, allocations: 2.428 MB / 0.5803 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.06188, allocations: 64.67 kB / 0.5804 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.06196, allocations: 31.97 kB / 0.5804 GB, free: 5.867 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): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003186/0.06228, allocations: 200.4 kB / 0.5806 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.06245, allocations: 79.62 kB / 0.5807 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.0648, allocations: 0.7719 MB / 0.5814 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.06481, allocations: 8 kB / 0.5814 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.06481, allocations: 0 / 0.5814 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.06482, allocations: 3.984 kB / 0.5814 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.06781, allocations: 1.241 MB / 0.5827 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.06782, allocations: 3.938 kB / 0.5827 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.06833, allocations: 123.8 kB / 0.5828 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.07016, allocations: 347.3 kB / 0.5831 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.07022, allocations: 23.97 kB / 0.5831 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.07277, allocations: 2.129 MB / 0.5852 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.07278, allocations: 7.938 kB / 0.5852 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.07492, allocations: 0.8035 MB / 0.586 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.0752, allocations: 131.4 kB / 0.5861 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.07528, allocations: 20 kB / 0.5861 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.07564, allocations: 31.97 kB / 0.5862 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.07576, allocations: 48.55 kB / 0.5862 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.07581, allocations: 23.97 kB / 0.5862 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002439/0.07606, allocations: 271 kB / 0.5865 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.07606, allocations: 0 / 0.5865 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009737/0.07703, allocations: 271.3 kB / 0.5868 GB, free: 15.15 MB / 0.5105 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 (67): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/0.07849, allocations: 0.5871 MB / 0.5873 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.08006, allocations: 0.6117 MB / 0.5879 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.08006, allocations: 4.25 kB / 0.5879 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000777/0.08084, allocations: 434.1 kB / 0.5883 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.08135, allocations: 89.48 kB / 0.5884 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.08359, allocations: 1.003 MB / 0.5894 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.08372, allocations: 136.8 kB / 0.5895 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005202/0.08424, allocations: 124.5 kB / 0.5897 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.08471, allocations: 194.1 kB / 0.5898 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.08471, allocations: 0 / 0.5898 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.02047/0.1052, allocations: 13.15 MB / 0.6027 GB, free: 14.98 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.221772521268576]