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.001492/0.001492, allocations: 77.23 kB / 19.76 MB, free: 2.035 MB / 14.72 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.001588/0.001588, allocations: 160.7 kB / 23.01 MB, free: 4.938 MB / 14.72 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 1.358/1.358, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.002354/0.002354, allocations: 238 kB / 260 MB, free: 448 kB / 238.1 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.8843/0.8843, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002897/0.002897, allocations: 99.83 kB / 0.6473 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3929, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.00403/0.3969, allocations: 3.472 MB / 0.7438 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004158/0.4011, allocations: 3.511 MB / 0.7472 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.4013, allocations: 16.59 kB / 0.7472 GB, free: 12.72 MB / 0.5919 GB [/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.0004053/0.4017, allocations: 125.4 kB / 0.7474 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009647/0.4026, allocations: 0.4938 MB / 0.7479 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.4033, allocations: 405.8 kB / 0.7482 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006503/0.404, allocations: 0.819 MB / 0.749 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.4042, allocations: 125.7 kB / 0.7492 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.4046, allocations: 365.4 kB / 0.7495 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.405, allocations: 313.9 kB / 0.7498 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.843e-05/0.4051, allocations: 75.34 kB / 0.7499 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.4058, allocations: 0.5497 MB / 0.7504 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.406, allocations: 177.5 kB / 0.7506 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.4062, allocations: 272.2 kB / 0.7508 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.4075, allocations: 1.199 MB / 0.752 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4075, allocations: 0.7031 kB / 0.752 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4075, allocations: 5.031 kB / 0.752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.4075, allocations: 0 / 0.752 GB, free: 10.46 MB / 0.5919 GB 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.001853/0.4093, allocations: 0.9871 MB / 0.753 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4094, allocations: 11.81 kB / 0.753 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.4131, allocations: 0.6336 MB / 0.7536 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.4144, allocations: 0.5763 MB / 0.7542 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.4145, allocations: 200.4 kB / 0.7544 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.4146, allocations: 42.56 kB / 0.7544 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.4159, allocations: 0.7634 MB / 0.7552 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4159, allocations: 0 / 0.7552 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.4159, allocations: 24.66 kB / 0.7552 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.416, allocations: 12.22 kB / 0.7552 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.4175, allocations: 0.7035 MB / 0.7559 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.4203, allocations: 1.636 MB / 0.7575 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.4226, allocations: 0.7874 MB / 0.7582 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.4234, allocations: 321.4 kB / 0.7585 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.4244, allocations: 196.1 kB / 0.7587 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008182/0.4253, allocations: 423.2 kB / 0.7591 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=56): time 2.415e-06/0.4253, allocations: 1.281 kB / 0.7591 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.007707/0.433, allocations: 1.472 MB / 0.7606 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.433, allocations: 109.9 kB / 0.7607 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.4334, allocations: 422 kB / 0.7611 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.4334, allocations: 32.39 kB / 0.7611 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.4336, allocations: 278 kB / 0.7614 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.4337, allocations: 196.2 kB / 0.7616 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.4339, allocations: 126.2 kB / 0.7617 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.4339, allocations: 359.4 kB / 0.762 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.4346, allocations: 294.9 kB / 0.7623 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/0.4354, allocations: 488.8 kB / 0.7628 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.4368, allocations: 0.6934 MB / 0.7635 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4368, allocations: 1.156 kB / 0.7635 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004858/0.4417, allocations: 1.105 MB / 0.7645 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4417, allocations: 6.844 kB / 0.7645 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4417, allocations: 6.781 kB / 0.7645 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/0.4457, allocations: 414.4 kB / 0.7649 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.4464, allocations: 158.8 kB / 0.7651 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.4499, allocations: 2.02 MB / 0.7671 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.4506, allocations: 92.09 kB / 0.7672 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4506, allocations: 35.06 kB / 0.7672 GB, free: 0.8086 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (70): * Single equations (assignments): 69 * 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.0002872/0.4509, allocations: 202.6 kB / 0.7674 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.451, allocations: 56.38 kB / 0.7674 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.4542, allocations: 1.062 MB / 0.7685 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4542, allocations: 7.156 kB / 0.7685 GB, free: 8 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4542, allocations: 8 kB / 0.7685 GB, free: 0 / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-05/0.4543, allocations: 9.297 kB / 0.7685 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003915/0.4582, allocations: 1.598 MB / 0.7701 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4582, allocations: 0 / 0.7701 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007073/0.4589, allocations: 137.7 kB / 0.7702 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.4599, allocations: 151.3 kB / 0.7703 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.46, allocations: 17.11 kB / 0.7703 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.4625, allocations: 1.784 MB / 0.7721 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4625, allocations: 5.625 kB / 0.7721 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.4655, allocations: 1.024 MB / 0.7731 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.4658, allocations: 135.9 kB / 0.7732 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.4659, allocations: 23.52 kB / 0.7732 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.4664, allocations: 50.78 kB / 0.7733 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4666, allocations: 53.78 kB / 0.7733 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.4666, allocations: 23.39 kB / 0.7734 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003362/0.467, allocations: 295.7 kB / 0.7737 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.467, allocations: 0 / 0.7737 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008373/0.4678, allocations: 257.5 kB / 0.7739 GB, free: 12.24 MB / 0.6075 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.001863/0.4697, allocations: 0.5845 MB / 0.7745 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002265/0.4719, allocations: 0.8688 MB / 0.7753 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4719, allocations: 4.062 kB / 0.7753 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.473, allocations: 0.4979 MB / 0.7758 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.4735, allocations: 76.45 kB / 0.7759 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4758, allocations: 1.245 MB / 0.7771 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4761, allocations: 293.2 kB / 0.7774 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005655/0.4767, allocations: 152.4 kB / 0.7775 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.4769, allocations: 77.72 kB / 0.7776 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.4769, allocations: 0 / 0.7776 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of Templates: time 0.0191/0.496, allocations: 10.64 MB / 0.788 GB, free: 1.734 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.150589202996343] Failed to read output from testmodel.py, exit status != 0: 0.503845238010399 0.517100097 0.106832567 Calling exit ...