Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.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.001342/0.001342, allocations: 84.2 kB / 19.18 MB, free: 2.523 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.001534/0.001534, allocations: 172 kB / 22.46 MB, free: 5.355 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.002413/0.002413, allocations: 240.4 kB / 259.4 MB, free: 476 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 1.075/1.075, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.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.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6467 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.277e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.00526/0.005283, allocations: 3.494 MB / 0.6502 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2856/0.2908, allocations: 3.488 MB / 0.6536 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005357/0.2914, allocations: 15.62 kB / 0.6536 GB, free: 53.26 MB / 0.5606 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.0006715/0.292, allocations: 123.9 kB / 0.6537 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.2935, allocations: 0.5152 MB / 0.6542 GB, free: 53.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.2943, allocations: 363 kB / 0.6545 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.295, allocations: 0.7893 MB / 0.6553 GB, free: 52.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.2952, allocations: 127.7 kB / 0.6554 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005679/0.2958, allocations: 464.9 kB / 0.6559 GB, free: 52.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.2962, allocations: 259.1 kB / 0.6561 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.2963, allocations: 65.94 kB / 0.6562 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/0.2973, allocations: 0.5378 MB / 0.6567 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.2975, allocations: 176.5 kB / 0.6569 GB, free: 52.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.2977, allocations: 218.7 kB / 0.6571 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2991, allocations: 1.25 MB / 0.6583 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2991, allocations: 4 kB / 0.6583 GB, free: 52.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2991, allocations: 0 / 0.6583 GB, free: 52.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.2991, allocations: 0.625 kB / 0.6583 GB, free: 52.17 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001792/0.3009, allocations: 0.9523 MB / 0.6592 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3009, allocations: 14.28 kB / 0.6593 GB, free: 51.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/0.3047, allocations: 0.6467 MB / 0.6599 GB, free: 51.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.306, allocations: 0.5685 MB / 0.6604 GB, free: 51.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.3061, allocations: 198.2 kB / 0.6606 GB, free: 50.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.3062, allocations: 49.89 kB / 0.6607 GB, free: 50.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.3077, allocations: 0.77 MB / 0.6614 GB, free: 50.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3077, allocations: 3.938 kB / 0.6614 GB, free: 50.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.3078, allocations: 21.66 kB / 0.6615 GB, free: 50.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3078, allocations: 12.03 kB / 0.6615 GB, free: 50.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.3097, allocations: 0.761 MB / 0.6622 GB, free: 50.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.3126, allocations: 1.562 MB / 0.6637 GB, free: 49.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.3154, allocations: 0.8081 MB / 0.6645 GB, free: 49.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008923/0.3163, allocations: 349.5 kB / 0.6649 GB, free: 49.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.3173, allocations: 197 kB / 0.6651 GB, free: 49.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009958/0.3183, allocations: 437.9 kB / 0.6655 GB, free: 48.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=55): time 2.545e-06/0.3183, allocations: 0 / 0.6655 GB, free: 48.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55): time 0.006842/0.3252, allocations: 1.549 MB / 0.667 GB, free: 48.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.3252, allocations: 109.4 kB / 0.6671 GB, free: 48.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.3257, allocations: 438.3 kB / 0.6675 GB, free: 48.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.3258, allocations: 36.14 kB / 0.6675 GB, free: 48.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3259, allocations: 277.4 kB / 0.6678 GB, free: 47.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3261, allocations: 190.6 kB / 0.668 GB, free: 47.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.3263, allocations: 125.7 kB / 0.6681 GB, free: 47.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.3264, allocations: 360.7 kB / 0.6684 GB, free: 47.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008579/0.3272, allocations: 311.4 kB / 0.6687 GB, free: 47.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/0.3282, allocations: 0.4888 MB / 0.6692 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.3299, allocations: 0.718 MB / 0.6699 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3299, allocations: 0 / 0.6699 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003857/0.3338, allocations: 1.049 MB / 0.6709 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3338, allocations: 7.438 kB / 0.671 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.3338, allocations: 7.25 kB / 0.671 GB, free: 46.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008042/0.3346, allocations: 144.1 kB / 0.6711 GB, free: 46.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.3354, allocations: 158.4 kB / 0.6713 GB, free: 46.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/0.34, allocations: 1.976 MB / 0.6732 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.3408, allocations: 101.5 kB / 0.6733 GB, free: 44.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.3409, allocations: 32.3 kB / 0.6733 GB, free: 44.75 MB / 0.5606 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): 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003354/0.3412, allocations: 205.6 kB / 0.6735 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3413, allocations: 57.3 kB / 0.6736 GB, free: 44.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.3447, allocations: 1.049 MB / 0.6746 GB, free: 44.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3447, allocations: 6.438 kB / 0.6746 GB, free: 44.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3447, allocations: 3.766 kB / 0.6746 GB, free: 44.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.3447, allocations: 5.953 kB / 0.6746 GB, free: 44.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004225/0.3489, allocations: 1.583 MB / 0.6761 GB, free: 43.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3489, allocations: 0 / 0.6761 GB, free: 43.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.3497, allocations: 147 kB / 0.6763 GB, free: 43.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007457/0.3504, allocations: 126.2 kB / 0.6764 GB, free: 43.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/0.3505, allocations: 19.5 kB / 0.6764 GB, free: 43.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/0.3537, allocations: 1.763 MB / 0.6781 GB, free: 41.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3537, allocations: 1.844 kB / 0.6781 GB, free: 41.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.3568, allocations: 1.026 MB / 0.6791 GB, free: 41.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.3571, allocations: 132.3 kB / 0.6793 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.3572, allocations: 20.52 kB / 0.6793 GB, free: 41.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006301/0.3579, allocations: 58.61 kB / 0.6794 GB, free: 41.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.358, allocations: 50.91 kB / 0.6794 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/0.3581, allocations: 22.28 kB / 0.6794 GB, free: 41.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004099/0.3585, allocations: 302.9 kB / 0.6797 GB, free: 41.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3585, allocations: 0 / 0.6797 GB, free: 41.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009574/0.3595, allocations: 263 kB / 0.68 GB, free: 41.19 MB / 0.5606 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): 64 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/0.3614, allocations: 0.6051 MB / 0.6806 GB, free: 40.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.3638, allocations: 0.8456 MB / 0.6814 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3638, allocations: 1.5 kB / 0.6814 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.3649, allocations: 498.5 kB / 0.6819 GB, free: 40.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3655, allocations: 75.17 kB / 0.6819 GB, free: 40.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.368, allocations: 1.208 MB / 0.6831 GB, free: 39.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3683, allocations: 283.5 kB / 0.6834 GB, free: 39.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005566/0.3689, allocations: 146.7 kB / 0.6835 GB, free: 39.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.3691, allocations: 73.55 kB / 0.6836 GB, free: 39.55 MB / 0.5606 GB Notification: Performance of SimCode: time 6.02e-07/0.3691, allocations: 1.219 kB / 0.6836 GB, free: 39.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.02059/0.3897, allocations: 10.71 MB / 0.694 GB, free: 37.1 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.38433900475502] Failed to read output from testmodel.py, exit status != 0: 0.3978266604244709 0.408103296 0.106518019 Calling exit ...