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.001419/0.001419, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001652/0.001652, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.327/1.327, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.00236/0.00236, allocations: 242.5 kB / 260 MB, free: 436 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.8779/0.8779, 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.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: 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.84 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.386, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004135/0.3902, allocations: 3.496 MB / 0.7438 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.3943, allocations: 3.476 MB / 0.7472 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.3945, allocations: 14.34 kB / 0.7472 GB, free: 12.73 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.0004155/0.3949, allocations: 127 kB / 0.7474 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009899/0.3959, allocations: 0.5021 MB / 0.7479 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.3965, allocations: 366.4 kB / 0.7482 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.3971, allocations: 0.7652 MB / 0.7489 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.3973, allocations: 137.6 kB / 0.7491 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.3977, allocations: 335.5 kB / 0.7494 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.3981, allocations: 298.5 kB / 0.7497 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.099e-05/0.3982, allocations: 66.78 kB / 0.7497 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.399, allocations: 0.5349 MB / 0.7503 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3991, allocations: 175.3 kB / 0.7504 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3993, allocations: 262.6 kB / 0.7507 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.4005, allocations: 1.172 MB / 0.7518 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4005, allocations: 0.6562 kB / 0.7518 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4005, allocations: 3.938 kB / 0.7518 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.4006, allocations: 1.062 kB / 0.7518 GB, free: 10.54 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001661/0.4022, allocations: 0.961 MB / 0.7528 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4022, allocations: 11.41 kB / 0.7528 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/0.4059, allocations: 0.6474 MB / 0.7534 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.4072, allocations: 0.5689 MB / 0.754 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.4073, allocations: 197.2 kB / 0.7542 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.4074, allocations: 50.22 kB / 0.7542 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4088, allocations: 0.7821 MB / 0.755 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4089, allocations: 0 / 0.755 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.4089, allocations: 22.19 kB / 0.755 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4089, allocations: 10.28 kB / 0.755 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.4107, allocations: 0.754 MB / 0.7557 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.4134, allocations: 1.576 MB / 0.7573 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.416, allocations: 0.805 MB / 0.7581 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008521/0.4169, allocations: 340.3 kB / 0.7584 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.4179, allocations: 199.9 kB / 0.7586 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000948/0.4188, allocations: 437.1 kB / 0.759 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.044e-06/0.4188, allocations: 4 kB / 0.759 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.006588/0.4254, allocations: 1.551 MB / 0.7605 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4255, allocations: 108.9 kB / 0.7606 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.4259, allocations: 437.2 kB / 0.761 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.4259, allocations: 35.83 kB / 0.7611 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4261, allocations: 279 kB / 0.7613 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4262, allocations: 195.7 kB / 0.7615 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.4264, allocations: 121.9 kB / 0.7616 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.4264, allocations: 363.3 kB / 0.762 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/0.4272, allocations: 304.3 kB / 0.7623 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009157/0.4281, allocations: 0.4897 MB / 0.7628 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.4299, allocations: 0.7182 MB / 0.7635 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4299, allocations: 1.219 kB / 0.7635 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003633/0.4335, allocations: 1.046 MB / 0.7645 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4335, allocations: 7.438 kB / 0.7645 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.4335, allocations: 3.438 kB / 0.7645 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.4342, allocations: 150.6 kB / 0.7646 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/0.435, allocations: 158.9 kB / 0.7648 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004297/0.4393, allocations: 1.977 MB / 0.7667 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.44, allocations: 103.6 kB / 0.7668 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.4401, allocations: 26.58 kB / 0.7668 GB, free: 1.199 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): 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.0003036/0.4404, allocations: 219 kB / 0.767 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4405, allocations: 53.39 kB / 0.7671 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.4436, allocations: 1.045 MB / 0.7681 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4436, allocations: 5.875 kB / 0.7681 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4436, allocations: 12.77 kB / 0.7681 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4436, allocations: 0 / 0.7681 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.4475, allocations: 1.57 MB / 0.7697 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4475, allocations: 0 / 0.7697 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.4483, allocations: 146 kB / 0.7698 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006732/0.4489, allocations: 121.4 kB / 0.7699 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.449, allocations: 20.33 kB / 0.7699 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.4525, allocations: 1.76 MB / 0.7717 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4525, allocations: 7.875 kB / 0.7717 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003246/0.4558, allocations: 1.024 MB / 0.7727 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.4561, allocations: 135.8 kB / 0.7728 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.4562, allocations: 11.03 kB / 0.7728 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.4569, allocations: 61.17 kB / 0.7729 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.457, allocations: 55.03 kB / 0.7729 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/0.457, allocations: 22.42 kB / 0.7729 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000385/0.4574, allocations: 299.5 kB / 0.7732 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4574, allocations: 0 / 0.7732 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009336/0.4584, allocations: 259.2 kB / 0.7735 GB, free: 12.71 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 (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.001907/0.4603, allocations: 0.6015 MB / 0.7741 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.4625, allocations: 0.8439 MB / 0.7749 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4625, allocations: 1.562 kB / 0.7749 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.4636, allocations: 499.9 kB / 0.7754 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.4641, allocations: 72.97 kB / 0.7754 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.4665, allocations: 1.269 MB / 0.7767 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4668, allocations: 288.9 kB / 0.777 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005561/0.4674, allocations: 151.4 kB / 0.7771 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.4676, allocations: 69.27 kB / 0.7772 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.4676, allocations: 0 / 0.7772 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Templates: time 0.01983/0.4874, allocations: 10.7 MB / 0.7876 GB, free: 2.098 MB / 0.6075 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.961509066983126] Failed to read output from testmodel.py, exit status != 0: 0.4956041070399806 0.5098226499999999 0.106161348 Calling exit ...