Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.001428/0.001428, 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.001608/0.001608, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.809 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.002917/0.002917, allocations: 283.2 kB / 312.7 MB, free: 2.613 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.263/1.263, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") [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.003055/0.003055, allocations: 99.66 kB / 0.74 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1548, allocations: 95.38 MB / 0.8331 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.005513/0.1603, allocations: 3.553 MB / 0.8366 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00579/0.1661, allocations: 3.514 MB / 0.84 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.1663, allocations: 15.88 kB / 0.84 GB, free: 0.7188 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.0004756/0.1668, allocations: 122.9 kB / 0.8401 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.168, allocations: 0.509 MB / 0.8406 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007859/0.1687, allocations: 375.4 kB / 0.841 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/0.1696, allocations: 0.7993 MB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1699, allocations: 126.4 kB / 0.8419 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.1703, allocations: 342.7 kB / 0.8422 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.1708, allocations: 302.6 kB / 0.8425 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1709, allocations: 68 kB / 0.8426 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009718/0.1719, allocations: 0.5424 MB / 0.8431 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1721, allocations: 171.4 kB / 0.8433 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.1724, allocations: 282.5 kB / 0.8435 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.1738, allocations: 1.179 MB / 0.8447 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1738, allocations: 4 kB / 0.8447 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1739, allocations: 0 / 0.8447 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.1739, allocations: 0 / 0.8447 GB, free: 11.91 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002066/0.1759, allocations: 0.9923 MB / 0.8457 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.176, allocations: 12.75 kB / 0.8457 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/0.1799, allocations: 0.656 MB / 0.8463 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.1814, allocations: 0.5777 MB / 0.8469 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.1817, allocations: 199.8 kB / 0.8471 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.1818, allocations: 51.94 kB / 0.8471 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.1836, allocations: 0.7943 MB / 0.8479 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1836, allocations: 0 / 0.8479 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.1837, allocations: 20 kB / 0.8479 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1837, allocations: 8 kB / 0.8479 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.1859, allocations: 0.7728 MB / 0.8487 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.1895, allocations: 1.667 MB / 0.8503 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.1925, allocations: 0.8224 MB / 0.8511 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.1936, allocations: 362.1 kB / 0.8514 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.1948, allocations: 204.2 kB / 0.8516 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.196, allocations: 462 kB / 0.8521 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.484e-06/0.196, allocations: 0 / 0.8521 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.007583/0.2036, allocations: 1.602 MB / 0.8536 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.2037, allocations: 115.3 kB / 0.8538 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.2042, allocations: 443.5 kB / 0.8542 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.127e-05/0.2043, allocations: 37.64 kB / 0.8542 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.2046, allocations: 277.2 kB / 0.8545 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.2048, allocations: 206.2 kB / 0.8547 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.205, allocations: 126.2 kB / 0.8548 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.2052, allocations: 366.7 kB / 0.8551 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.2062, allocations: 325 kB / 0.8555 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2073, allocations: 499.1 kB / 0.8559 GB, free: 72 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.2094, allocations: 0.7272 MB / 0.8566 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2094, allocations: 0 / 0.8566 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004238/0.2137, allocations: 1.079 MB / 0.8577 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2137, allocations: 8 kB / 0.8577 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2137, allocations: 0 / 0.8577 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008194/0.2145, allocations: 149 kB / 0.8578 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.2154, allocations: 167.7 kB / 0.858 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005141/0.2205, allocations: 1.963 MB / 0.8599 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007879/0.2213, allocations: 102 kB / 0.86 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.2214, allocations: 31.97 kB / 0.86 GB, free: 11.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * 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: 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.0003482/0.2218, allocations: 214.2 kB / 0.8603 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2219, allocations: 55.67 kB / 0.8603 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.2257, allocations: 1.105 MB / 0.8614 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.2257, allocations: 8 kB / 0.8614 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.2257, allocations: 0 / 0.8614 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.2257, allocations: 7.922 kB / 0.8614 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.2302, allocations: 1.617 MB / 0.863 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2302, allocations: 3.938 kB / 0.863 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.231, allocations: 143.8 kB / 0.8631 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/0.2317, allocations: 124.7 kB / 0.8632 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.2317, allocations: 15.98 kB / 0.8633 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/0.2359, allocations: 1.828 MB / 0.865 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.236, allocations: 7.922 kB / 0.865 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.2394, allocations: 1.054 MB / 0.8661 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.2398, allocations: 147.2 kB / 0.8662 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.2399, allocations: 12 kB / 0.8662 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.2405, allocations: 67.92 kB / 0.8663 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2407, allocations: 44.56 kB / 0.8663 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.6e-05/0.2407, allocations: 23.98 kB / 0.8664 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004215/0.2411, allocations: 307.1 kB / 0.8667 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2411, allocations: 0 / 0.8667 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008567/0.242, allocations: 263.4 kB / 0.8669 GB, free: 4.477 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 (69): * Single equations (assignments): 67 * 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.001999/0.244, allocations: 0.5884 MB / 0.8675 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002493/0.2465, allocations: 0.8705 MB / 0.8683 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2465, allocations: 0 / 0.8683 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.2481, allocations: 0.5491 MB / 0.8689 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.2486, allocations: 80.8 kB / 0.8689 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2513, allocations: 1.32 MB / 0.8702 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2516, allocations: 286.7 kB / 0.8705 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000624/0.2522, allocations: 156.4 kB / 0.8707 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.2525, allocations: 75.38 kB / 0.8707 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2525, allocations: 0 / 0.8707 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of Templates: time 0.0212/0.2737, allocations: 11.53 MB / 0.882 GB, free: 5.234 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7268528658896685] Failed to read output from testmodel.py, exit status != 0: 0.2815214041620493 0.29718033499999996 0.120117708 Calling exit ...