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.001188/0.001188, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001311/0.001311, allocations: 212.9 kB / 23.04 MB, free: 5.074 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.378/1.378, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002572/0.002572, allocations: 282.1 kB / 313.5 MB, free: 2.773 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.211/1.211, allocations: 180.6 MB / 0.5377 GB, free: 12.89 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: "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",fmuType="cs",version="2.0",platforms={"static"}) [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.002718/0.002718, allocations: 98.84 kB / 0.7403 GB, free: 28.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1799, allocations: 95.38 MB / 0.8335 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.005858/0.1857, allocations: 3.837 MB / 0.8372 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006124/0.1919, allocations: 3.731 MB / 0.8409 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.1923, allocations: 15.88 kB / 0.8409 GB, free: 1.043 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.0006057/0.1929, allocations: 128.7 kB / 0.841 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.1946, allocations: 0.4974 MB / 0.8415 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1957, allocations: 361.5 kB / 0.8418 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.1968, allocations: 0.7604 MB / 0.8426 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002999/0.1971, allocations: 142.4 kB / 0.8427 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.1977, allocations: 318.8 kB / 0.843 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.1983, allocations: 330.6 kB / 0.8433 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.1985, allocations: 68 kB / 0.8434 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1997, allocations: 0.5697 MB / 0.8439 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.1999, allocations: 175.4 kB / 0.8441 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.2004, allocations: 334.2 kB / 0.8444 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.2025, allocations: 1.16 MB / 0.8456 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2025, allocations: 0 / 0.8456 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2025, allocations: 0 / 0.8456 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.2026, allocations: 0 / 0.8456 GB, free: 12.21 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.002789/0.2054, allocations: 0.969 MB / 0.8465 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.2054, allocations: 13.34 kB / 0.8465 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.614e-05/0.2055, allocations: 17.17 kB / 0.8465 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.2056, allocations: 90.64 kB / 0.8466 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/0.2096, allocations: 0.6482 MB / 0.8473 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.2113, allocations: 0.5777 MB / 0.8478 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.2115, allocations: 203.3 kB / 0.848 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.2116, allocations: 44 kB / 0.8481 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.2134, allocations: 0.6948 MB / 0.8487 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2134, allocations: 0 / 0.8487 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.2134, allocations: 20 kB / 0.8488 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.2135, allocations: 12 kB / 0.8488 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.2156, allocations: 0.7572 MB / 0.8495 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.2194, allocations: 1.777 MB / 0.8512 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.2224, allocations: 0.8085 MB / 0.852 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000968/0.2233, allocations: 333.9 kB / 0.8523 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.2245, allocations: 196.2 kB / 0.8525 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.2256, allocations: 435.7 kB / 0.8529 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.2256, allocations: 0 / 0.8529 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.00313/0.2287, allocations: 1.01 MB / 0.8539 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.2288, allocations: 111.2 kB / 0.854 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.2294, allocations: 450.4 kB / 0.8545 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.2295, allocations: 33.7 kB / 0.8545 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.2298, allocations: 293.1 kB / 0.8548 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.2299, allocations: 186.4 kB / 0.855 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.2302, allocations: 122.2 kB / 0.8551 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2304, allocations: 366.8 kB / 0.8554 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009457/0.2313, allocations: 305.1 kB / 0.8557 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.2323, allocations: 445.4 kB / 0.8561 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.2343, allocations: 0.6974 MB / 0.8568 GB, free: 332 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2343, allocations: 3.938 kB / 0.8568 GB, free: 328 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002299/0.2366, allocations: 0.8211 MB / 0.8576 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.2367, allocations: 8 kB / 0.8576 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2367, allocations: 4 kB / 0.8576 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2367, allocations: 7.984 kB / 0.8576 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/0.2376, allocations: 175.7 kB / 0.8578 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.2376, allocations: 12.06 kB / 0.8578 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.2384, allocations: 103.6 kB / 0.8579 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.2384, allocations: 27.97 kB / 0.858 GB, free: 15.16 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.0003504/0.2388, allocations: 205.6 kB / 0.8581 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.239, allocations: 63.61 kB / 0.8582 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.2414, allocations: 0.8894 MB / 0.8591 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.2415, allocations: 11.92 kB / 0.8591 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2415, allocations: 0 / 0.8591 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2415, allocations: 0 / 0.8591 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.2447, allocations: 1.565 MB / 0.8606 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2447, allocations: 0 / 0.8606 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007999/0.2455, allocations: 147.8 kB / 0.8608 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.2455, allocations: 7.938 kB / 0.8608 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.2456, allocations: 15.98 kB / 0.8608 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.2456, allocations: 7.984 kB / 0.8608 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2456, allocations: 4 kB / 0.8608 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.2477, allocations: 0.8585 MB / 0.8616 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.248, allocations: 139.3 kB / 0.8618 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.2481, allocations: 12 kB / 0.8618 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.2487, allocations: 56.62 kB / 0.8618 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2488, allocations: 44.56 kB / 0.8619 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.749e-05/0.2489, allocations: 23.98 kB / 0.8619 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004293/0.2493, allocations: 315.1 kB / 0.8622 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2493, allocations: 0 / 0.8622 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008987/0.2502, allocations: 251.3 kB / 0.8624 GB, free: 10.49 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.004389/0.2546, allocations: 1.867 MB / 0.8643 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.2568, allocations: 0.7076 MB / 0.8649 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2568, allocations: 448 / 0.8649 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009484/0.2577, allocations: 359.5 kB / 0.8653 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.2583, allocations: 70.72 kB / 0.8654 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.2688, allocations: 5.434 MB / 0.8707 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.2693, allocations: 0.8772 MB / 0.8715 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006492/0.27, allocations: 152.5 kB / 0.8717 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.2704, allocations: 235.2 kB / 0.8719 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.2704, allocations: 0 / 0.8719 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.3145, allocations: 15.48 MB / 0.887 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.63, allocations: 8.156 kB / 0.887 GB, free: 1.371 MB / 0.6231 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple.fmu > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.830225703015458] Failed to read output from testmodel.py, exit status != 0: 12.877008509996813 12.903283798 12.695694209 Calling exit ...