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.001333/0.001333, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001558/0.001558, allocations: 219.7 kB / 22.26 MB, free: 5.117 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.965 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.002609/0.002609, allocations: 290.1 kB / 312.7 MB, free: 2.785 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.288/1.288, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",fmuType="me",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.002932/0.002932, allocations: 108.1 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.177, allocations: 95.38 MB / 0.8327 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.006424/0.1835, allocations: 3.829 MB / 0.8364 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006153/0.1896, allocations: 3.731 MB / 0.8401 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.19, allocations: 15.88 kB / 0.8401 GB, free: 1.07 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.000536/0.1905, allocations: 122.9 kB / 0.8402 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1919, allocations: 0.5051 MB / 0.8407 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.1927, allocations: 359.9 kB / 0.8411 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009429/0.1937, allocations: 0.7565 MB / 0.8418 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.194, allocations: 146.4 kB / 0.8419 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.1944, allocations: 322.8 kB / 0.8422 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.1949, allocations: 332.8 kB / 0.8426 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-05/0.195, allocations: 68 kB / 0.8426 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1962, allocations: 0.5736 MB / 0.8432 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.1964, allocations: 171.4 kB / 0.8433 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.1968, allocations: 330.2 kB / 0.8437 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1984, allocations: 1.168 MB / 0.8448 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1984, allocations: 0 / 0.8448 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1984, allocations: 0 / 0.8448 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.1984, allocations: 0 / 0.8448 GB, free: 12.23 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.002088/0.2005, allocations: 0.9651 MB / 0.8457 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.2005, allocations: 9.344 kB / 0.8458 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.2006, allocations: 98.7 kB / 0.8458 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003921/0.2046, allocations: 0.6443 MB / 0.8465 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.2061, allocations: 0.5699 MB / 0.847 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.2063, allocations: 203.5 kB / 0.8472 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/0.2063, allocations: 44 kB / 0.8473 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.208, allocations: 0.6987 MB / 0.848 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.208, allocations: 0 / 0.848 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.2081, allocations: 20 kB / 0.848 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.2081, allocations: 12 kB / 0.848 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.2102, allocations: 0.7572 MB / 0.8487 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/0.2141, allocations: 1.777 MB / 0.8505 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.2171, allocations: 0.8101 MB / 0.8513 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009831/0.2181, allocations: 333.9 kB / 0.8516 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.2193, allocations: 196.2 kB / 0.8518 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.2205, allocations: 433.1 kB / 0.8522 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.005e-05/0.2205, allocations: 0 / 0.8522 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003123/0.2236, allocations: 1.014 MB / 0.8532 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.2237, allocations: 111.2 kB / 0.8533 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.2243, allocations: 446.4 kB / 0.8537 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.2244, allocations: 33.7 kB / 0.8537 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.2247, allocations: 293.1 kB / 0.854 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.2248, allocations: 186.4 kB / 0.8542 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.2251, allocations: 126.2 kB / 0.8543 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2253, allocations: 358.8 kB / 0.8546 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009114/0.2262, allocations: 309.1 kB / 0.8549 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.2272, allocations: 445.4 kB / 0.8554 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.2291, allocations: 0.7013 MB / 0.856 GB, free: 368 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2291, allocations: 0 / 0.856 GB, free: 368 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002312/0.2314, allocations: 0.8133 MB / 0.8568 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.2315, allocations: 8 kB / 0.8568 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.2315, allocations: 8.219 kB / 0.8569 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.2315, allocations: 4 kB / 0.8569 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/0.2325, allocations: 171.7 kB / 0.857 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.2325, allocations: 15.92 kB / 0.857 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.2332, allocations: 114.1 kB / 0.8571 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.2333, allocations: 31.97 kB / 0.8572 GB, free: 15.2 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.0003714/0.2337, allocations: 201.6 kB / 0.8574 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2338, allocations: 59.62 kB / 0.8574 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.2362, allocations: 0.8932 MB / 0.8583 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2362, allocations: 4 kB / 0.8583 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.2362, allocations: 3.938 kB / 0.8583 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2362, allocations: 11.98 kB / 0.8583 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.2394, allocations: 1.553 MB / 0.8598 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2394, allocations: 0 / 0.8598 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.2402, allocations: 151.8 kB / 0.86 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/0.2402, allocations: 11.94 kB / 0.86 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.2403, allocations: 15.98 kB / 0.86 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.2403, allocations: 4 kB / 0.86 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2403, allocations: 0 / 0.86 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.2424, allocations: 0.8701 MB / 0.8609 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.2427, allocations: 135.3 kB / 0.861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.2428, allocations: 12 kB / 0.861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006075/0.2434, allocations: 59.94 kB / 0.8611 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2435, allocations: 44.56 kB / 0.8611 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.2436, allocations: 23.98 kB / 0.8611 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004432/0.244, allocations: 307.1 kB / 0.8614 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.244, allocations: 0 / 0.8614 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009662/0.245, allocations: 251.3 kB / 0.8617 GB, free: 10.53 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.004454/0.2494, allocations: 1.874 MB / 0.8635 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.2517, allocations: 0.6998 MB / 0.8642 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2517, allocations: 7.938 kB / 0.8642 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.2526, allocations: 360 kB / 0.8645 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.2533, allocations: 69.92 kB / 0.8646 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.265, allocations: 5.426 MB / 0.8699 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.2656, allocations: 0.8811 MB / 0.8707 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006728/0.2663, allocations: 152.5 kB / 0.8709 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.2668, allocations: 235.2 kB / 0.8711 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of SimCode: time 1.543e-06/0.2668, allocations: 0 / 0.8711 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.3199, allocations: 15.44 MB / 0.8862 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.67, allocations: 11.31 kB / 0.8862 GB, free: 1.43 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 sys.exit(0), Time elapsed: 17.2418527090922] Failed to read output from testmodel.py, exit status != 0: 12.872114116093144 12.891973819 12.689728299 Calling exit ...