Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.0009346/0.0009346, allocations: 76.55 kB / 19.93 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.0009904/0.0009904, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8479/0.8479, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.001381/0.001381, allocations: 229.5 kB / 260.2 MB, free: 13.02 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.6523/0.6523, allocations: 138.4 MB / 455.1 MB, free: 30 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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6475 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.933e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.441 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.2301/0.2301, allocations: 3.511 MB / 0.6509 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.2332, allocations: 3.471 MB / 0.6543 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.2334, allocations: 14.72 kB / 0.6543 GB, free: 53.56 MB / 0.5573 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.0003922/0.2338, allocations: 123.3 kB / 0.6544 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006799/0.2345, allocations: 0.5202 MB / 0.6549 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.2348, allocations: 358.1 kB / 0.6553 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.2353, allocations: 0.7792 MB / 0.656 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.2355, allocations: 127.7 kB / 0.6562 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.2359, allocations: 466 kB / 0.6566 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.2361, allocations: 249.5 kB / 0.6568 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.2362, allocations: 66.59 kB / 0.6569 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.2367, allocations: 0.5348 MB / 0.6574 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2368, allocations: 180.8 kB / 0.6576 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.237, allocations: 216.2 kB / 0.6578 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.238, allocations: 1.244 MB / 0.659 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.238, allocations: 1.875 kB / 0.659 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.293e-06/0.238, allocations: 0 / 0.659 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.238, allocations: 0 / 0.659 GB, free: 51.38 MB / 0.5573 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.001128/0.2391, allocations: 0.9637 MB / 0.66 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2391, allocations: 11.44 kB / 0.66 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.2409, allocations: 0.6434 MB / 0.6606 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007599/0.2416, allocations: 0.5715 MB / 0.6612 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.2417, allocations: 198.8 kB / 0.6614 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.2418, allocations: 46.22 kB / 0.6614 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008877/0.2427, allocations: 0.7731 MB / 0.6622 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2427, allocations: 3.938 kB / 0.6622 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.2427, allocations: 25.5 kB / 0.6622 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2427, allocations: 11.31 kB / 0.6622 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2438, allocations: 0.7523 MB / 0.6629 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.2457, allocations: 1.584 MB / 0.6645 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.2472, allocations: 0.7971 MB / 0.6653 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.2477, allocations: 334.5 kB / 0.6656 GB, free: 48.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/0.2482, allocations: 193.9 kB / 0.6658 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/0.2488, allocations: 444.3 kB / 0.6662 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 1.903e-06/0.2488, allocations: 3.938 kB / 0.6662 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53): time 0.001467/0.2502, allocations: 1.016 MB / 0.6672 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.2502, allocations: 109.6 kB / 0.6673 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.2505, allocations: 443.2 kB / 0.6677 GB, free: 47.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.2506, allocations: 37.27 kB / 0.6677 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.2507, allocations: 284.6 kB / 0.668 GB, free: 47.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.2507, allocations: 185.7 kB / 0.6682 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.2509, allocations: 121.3 kB / 0.6683 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.2509, allocations: 366.6 kB / 0.6687 GB, free: 46.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.2513, allocations: 300.8 kB / 0.6689 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.2518, allocations: 497.1 kB / 0.6694 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008998/0.2527, allocations: 0.7029 MB / 0.6701 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2527, allocations: 2 kB / 0.6701 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001074/0.2538, allocations: 0.8179 MB / 0.6709 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2538, allocations: 7.812 kB / 0.6709 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2538, allocations: 2.156 kB / 0.6709 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2538, allocations: 6.094 kB / 0.6709 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.2542, allocations: 178.1 kB / 0.6711 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2543, allocations: 8.875 kB / 0.6711 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.2545, allocations: 103.4 kB / 0.6712 GB, free: 45.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.2546, allocations: 28.84 kB / 0.6712 GB, free: 45.46 MB / 0.5573 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): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.2547, allocations: 214.4 kB / 0.6714 GB, free: 45.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.2548, allocations: 55.03 kB / 0.6715 GB, free: 45.26 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.256, allocations: 0.8853 MB / 0.6723 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-06/0.256, allocations: 6.594 kB / 0.6723 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.256, allocations: 0 / 0.6723 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.256, allocations: 3.328 kB / 0.6723 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.2575, allocations: 1.406 MB / 0.6737 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2575, allocations: 8.25 kB / 0.6737 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.2579, allocations: 148.4 kB / 0.6739 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2579, allocations: 3.562 kB / 0.6739 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.2579, allocations: 16.14 kB / 0.6739 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2579, allocations: 3.594 kB / 0.6739 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2579, allocations: 3.938 kB / 0.6739 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.2589, allocations: 0.866 MB / 0.6747 GB, free: 43.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.2591, allocations: 134.9 kB / 0.6749 GB, free: 43.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.2591, allocations: 15.95 kB / 0.6749 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.2594, allocations: 53.09 kB / 0.6749 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.2595, allocations: 43.02 kB / 0.675 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.2595, allocations: 29.77 kB / 0.675 GB, free: 43.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001885/0.2597, allocations: 307.9 kB / 0.6753 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2597, allocations: 0 / 0.6753 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004561/0.2602, allocations: 251.1 kB / 0.6755 GB, free: 43.49 MB / 0.5573 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): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009161/0.2611, allocations: 0.6039 MB / 0.6761 GB, free: 43.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.2621, allocations: 0.698 MB / 0.6768 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2622, allocations: 1.219 kB / 0.6768 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.2627, allocations: 364.4 kB / 0.6772 GB, free: 42.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.263, allocations: 74.45 kB / 0.6772 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2645, allocations: 1.219 MB / 0.6784 GB, free: 42.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2647, allocations: 280.7 kB / 0.6787 GB, free: 42.19 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.2649, allocations: 85.81 kB / 0.6788 GB, free: 42.17 MB / 0.5573 GB Notification: Performance of SimCode: time 5.1e-07/0.2649, allocations: 0 / 0.6788 GB, free: 42.17 MB / 0.5573 GB Notification: Performance of Templates: time 0.01063/0.2755, allocations: 10.93 MB / 0.6894 GB, free: 39.35 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8766594007611275] Failed to read output from testmodel.py, exit status != 0: 0.28040312323719263 0.288012155 0.048483527000000005 Calling exit ...