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.001371/0.001371, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001663/0.001663, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.789 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.002561/0.002561, allocations: 283.3 kB / 312.7 MB, free: 2.688 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.261/1.261, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.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: 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.002941/0.002941, allocations: 97.73 kB / 0.7399 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1727, allocations: 95.38 MB / 0.8331 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005676/0.1784, allocations: 3.523 MB / 0.8365 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00581/0.1842, allocations: 3.479 MB / 0.8399 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.1846, allocations: 15.88 kB / 0.8399 GB, free: 0.9375 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.0004968/0.1851, allocations: 127 kB / 0.8401 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.1863, allocations: 0.4958 MB / 0.8405 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.1871, allocations: 364.7 kB / 0.8409 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008483/0.1879, allocations: 0.7566 MB / 0.8416 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1882, allocations: 130.4 kB / 0.8418 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.1887, allocations: 330.8 kB / 0.8421 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.1891, allocations: 294.6 kB / 0.8424 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.1892, allocations: 64 kB / 0.8424 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009423/0.1902, allocations: 0.5424 MB / 0.8429 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1904, allocations: 175.3 kB / 0.8431 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.1906, allocations: 262.7 kB / 0.8434 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.1921, allocations: 1.171 MB / 0.8445 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1921, allocations: 0 / 0.8445 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1921, allocations: 0 / 0.8445 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.1921, allocations: 0 / 0.8445 GB, free: 12.24 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.001987/0.1941, allocations: 0.9612 MB / 0.8454 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1941, allocations: 13.34 kB / 0.8455 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003822/0.1979, allocations: 0.6443 MB / 0.8461 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.1994, allocations: 0.5777 MB / 0.8467 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.1996, allocations: 199.8 kB / 0.8468 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.1997, allocations: 55.88 kB / 0.8469 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.2014, allocations: 0.7662 MB / 0.8476 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2014, allocations: 0 / 0.8476 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.2015, allocations: 20 kB / 0.8477 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.2015, allocations: 12 kB / 0.8477 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.2036, allocations: 0.7533 MB / 0.8484 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.2072, allocations: 1.559 MB / 0.8499 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.2101, allocations: 0.8073 MB / 0.8507 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009823/0.2111, allocations: 333.9 kB / 0.851 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.2123, allocations: 196.2 kB / 0.8512 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.2134, allocations: 429.1 kB / 0.8516 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.2134, allocations: 0 / 0.8516 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003067/0.2164, allocations: 1.018 MB / 0.8526 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.2165, allocations: 115.2 kB / 0.8527 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2171, allocations: 437.9 kB / 0.8532 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.2171, allocations: 37.7 kB / 0.8532 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.2174, allocations: 289 kB / 0.8535 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.2175, allocations: 186.4 kB / 0.8536 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.2178, allocations: 122.2 kB / 0.8538 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.218, allocations: 366.7 kB / 0.8541 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/0.2189, allocations: 301.1 kB / 0.8544 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.22, allocations: 0.489 MB / 0.8549 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.222, allocations: 0.6935 MB / 0.8556 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.222, allocations: 4 kB / 0.8556 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002314/0.2243, allocations: 0.8172 MB / 0.8564 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2243, allocations: 9.875 kB / 0.8564 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2243, allocations: 4 kB / 0.8564 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2243, allocations: 4 kB / 0.8564 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.2253, allocations: 179.9 kB / 0.8565 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.2253, allocations: 4 kB / 0.8565 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/0.226, allocations: 109 kB / 0.8567 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.226, allocations: 31.97 kB / 0.8567 GB, free: 15.39 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): 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.0003006/0.2263, allocations: 213.6 kB / 0.8569 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2265, allocations: 55.61 kB / 0.8569 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.2289, allocations: 0.8893 MB / 0.8578 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.229, allocations: 4 kB / 0.8578 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.229, allocations: 4 kB / 0.8578 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.229, allocations: 7.922 kB / 0.8578 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.232, allocations: 1.398 MB / 0.8592 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.232, allocations: 4 kB / 0.8592 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.2328, allocations: 147.8 kB / 0.8593 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2328, allocations: 4 kB / 0.8593 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.2329, allocations: 15.98 kB / 0.8594 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.2329, allocations: 11.94 kB / 0.8594 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2329, allocations: 0 / 0.8594 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.235, allocations: 0.8624 MB / 0.8602 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.2353, allocations: 135.3 kB / 0.8603 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.2354, allocations: 19.98 kB / 0.8604 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.236, allocations: 55.88 kB / 0.8604 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.2361, allocations: 40.58 kB / 0.8604 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.2362, allocations: 23.98 kB / 0.8605 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003798/0.2365, allocations: 303.1 kB / 0.8608 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2365, allocations: 4 kB / 0.8608 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007502/0.2373, allocations: 247.4 kB / 0.861 GB, free: 10.91 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): 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.002005/0.2393, allocations: 0.5841 MB / 0.8616 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.2413, allocations: 0.7037 MB / 0.8623 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2413, allocations: 0 / 0.8623 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009633/0.2423, allocations: 367.9 kB / 0.8626 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.2428, allocations: 76.12 kB / 0.8627 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.2453, allocations: 1.256 MB / 0.8639 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2456, allocations: 278.2 kB / 0.8642 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006174/0.2462, allocations: 152.5 kB / 0.8643 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.2465, allocations: 79.38 kB / 0.8644 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2465, allocations: 0 / 0.8644 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of Templates: time 0.01854/0.265, allocations: 9.698 MB / 0.8739 GB, free: 13.93 MB / 0.6231 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: 6.525073911994696] Failed to read output from testmodel.py, exit status != 0: 0.2723459154367447 0.287377818 0.09220581500000001 Calling exit ...