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.001513/0.001513, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001684/0.001684, allocations: 214.7 kB / 22.99 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.002475/0.002475, allocations: 292.2 kB / 313.5 MB, free: 2.621 MB / 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.17/1.17, allocations: 180.6 MB / 0.5377 GB, free: 14.62 MB / 382.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.002904/0.002904, allocations: 109.8 kB / 0.7407 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1735, allocations: 95.38 MB / 0.8338 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005953/0.1794, allocations: 3.494 MB / 0.8372 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006165/0.1856, allocations: 3.48 MB / 0.8406 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.1861, allocations: 15.81 kB / 0.8407 GB, free: 0.8516 MB / 0.5762 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.0006334/0.1867, allocations: 126.9 kB / 0.8408 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.1882, allocations: 0.5012 MB / 0.8413 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/0.1892, allocations: 367.6 kB / 0.8416 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1902, allocations: 0.768 MB / 0.8424 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.1905, allocations: 131.1 kB / 0.8425 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.1911, allocations: 338.8 kB / 0.8428 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.1916, allocations: 290.6 kB / 0.8431 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.1918, allocations: 64 kB / 0.8432 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1928, allocations: 0.5424 MB / 0.8437 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.1931, allocations: 171.4 kB / 0.8439 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.1934, allocations: 270.6 kB / 0.8441 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.1951, allocations: 1.164 MB / 0.8452 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1951, allocations: 0 / 0.8452 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1951, allocations: 8 kB / 0.8453 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.95e-05/0.1951, allocations: 0 / 0.8453 GB, free: 12.12 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.00246/0.1976, allocations: 0.9612 MB / 0.8462 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1976, allocations: 9.938 kB / 0.8462 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/0.2014, allocations: 0.6443 MB / 0.8468 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.203, allocations: 0.5777 MB / 0.8474 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.2032, allocations: 199.8 kB / 0.8476 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.2033, allocations: 51.94 kB / 0.8476 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.2051, allocations: 0.7701 MB / 0.8484 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2051, allocations: 0 / 0.8484 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.2052, allocations: 20 kB / 0.8484 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.2052, allocations: 12 kB / 0.8484 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.2073, allocations: 0.7533 MB / 0.8492 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.2107, allocations: 1.573 MB / 0.8507 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.2135, allocations: 0.8109 MB / 0.8515 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009493/0.2145, allocations: 341.9 kB / 0.8518 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.2156, allocations: 192.2 kB / 0.852 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.2166, allocations: 440.2 kB / 0.8524 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.134e-06/0.2166, allocations: 0 / 0.8524 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.006718/0.2234, allocations: 1.551 MB / 0.8539 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.2234, allocations: 111.3 kB / 0.854 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.224, allocations: 441.9 kB / 0.8545 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.224, allocations: 33.7 kB / 0.8545 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2243, allocations: 285.1 kB / 0.8548 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.2245, allocations: 194.3 kB / 0.8549 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.2247, allocations: 122.2 kB / 0.8551 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2248, allocations: 362.8 kB / 0.8554 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008796/0.2257, allocations: 305.1 kB / 0.8557 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.2268, allocations: 0.4929 MB / 0.8562 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.2286, allocations: 0.7173 MB / 0.8569 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2286, allocations: 0 / 0.8569 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003826/0.2325, allocations: 1.048 MB / 0.8579 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2325, allocations: 8 kB / 0.8579 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.2325, allocations: 4 kB / 0.8579 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007324/0.2332, allocations: 148.9 kB / 0.8581 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.234, allocations: 159.8 kB / 0.8582 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004859/0.2388, allocations: 1.963 MB / 0.8601 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007055/0.2396, allocations: 102 kB / 0.8602 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.2396, allocations: 31.97 kB / 0.8603 GB, free: 12.28 MB / 0.6075 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.0003201/0.2399, allocations: 211.5 kB / 0.8605 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.2401, allocations: 63.69 kB / 0.8605 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.2434, allocations: 1.05 MB / 0.8615 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2434, allocations: 4 kB / 0.8615 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2434, allocations: 7.875 kB / 0.8616 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2435, allocations: 7.984 kB / 0.8616 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.2475, allocations: 1.578 MB / 0.8631 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2475, allocations: 0 / 0.8631 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.2482, allocations: 143.8 kB / 0.8632 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006336/0.2488, allocations: 120.7 kB / 0.8634 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.2489, allocations: 19.98 kB / 0.8634 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.2522, allocations: 1.766 MB / 0.8651 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2522, allocations: 3.938 kB / 0.8651 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.2553, allocations: 1.023 MB / 0.8661 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.2556, allocations: 135.4 kB / 0.8662 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.2557, allocations: 12 kB / 0.8662 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.2563, allocations: 67.98 kB / 0.8663 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2564, allocations: 48.56 kB / 0.8664 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.2565, allocations: 23.98 kB / 0.8664 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003767/0.2568, allocations: 299.1 kB / 0.8667 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2568, allocations: 0 / 0.8667 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007896/0.2576, allocations: 259.3 kB / 0.8669 GB, free: 5.273 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.001934/0.2596, allocations: 0.5788 MB / 0.8675 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.2618, allocations: 0.8432 MB / 0.8683 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.2618, allocations: 4 kB / 0.8683 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.263, allocations: 0.4905 MB / 0.8688 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.2635, allocations: 72.53 kB / 0.8688 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.266, allocations: 1.308 MB / 0.8701 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.2663, allocations: 286.2 kB / 0.8704 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.2666, allocations: 83.31 kB / 0.8705 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.2666, allocations: 0 / 0.8705 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of Templates: time 0.01976/0.2864, allocations: 13.52 MB / 0.8837 GB, free: 4.215 MB / 0.6231 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 os._exit(0), Time elapsed: 9.155685625039041] Failed to read output from testmodel.py, exit status != 0: 0.29400198301300406 0.30869171100000004 0.110598609 Calling exit ...