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.0007148/0.0007148, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007307/0.0007307, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.8443/0.8443, allocations: 177.1 MB / 202.8 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.001388/0.001388, allocations: 236.9 kB / 259.4 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.636/0.636, allocations: 138.4 MB / 454.3 MB, free: 1.613 MB / 362.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: "" <> 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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 3.938 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.777e-05, allocations: 5.734 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003189/0.003207, allocations: 3.492 MB / 0.6497 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.006403, allocations: 3.494 MB / 0.6531 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.006643, allocations: 13.34 kB / 0.6531 GB, free: 23.72 MB / 0.5105 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.0003778/0.007021, allocations: 121.3 kB / 0.6532 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000864/0.007885, allocations: 0.5243 MB / 0.6537 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.008375, allocations: 363.7 kB / 0.6541 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000502/0.008877, allocations: 0.7743 MB / 0.6548 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.009053, allocations: 130 kB / 0.655 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.009456, allocations: 456.2 kB / 0.6554 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.009705, allocations: 257.2 kB / 0.6556 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.00978, allocations: 65.53 kB / 0.6557 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006056/0.01039, allocations: 0.5452 MB / 0.6562 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.01049, allocations: 175.1 kB / 0.6564 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.01062, allocations: 211 kB / 0.6566 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.01149, allocations: 1.249 MB / 0.6578 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01149, allocations: 1.469 kB / 0.6578 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01149, allocations: 0 / 0.6578 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.0115, allocations: 0 / 0.6578 GB, free: 20.54 MB / 0.5105 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.001151/0.01265, allocations: 0.9574 MB / 0.6588 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.01268, allocations: 18.48 kB / 0.6588 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.468e-05/0.01276, allocations: 87.38 kB / 0.6589 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.01452, allocations: 0.6455 MB / 0.6595 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00078/0.0153, allocations: 0.5737 MB / 0.66 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.01539, allocations: 203.2 kB / 0.6602 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.01545, allocations: 42.69 kB / 0.6603 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008842/0.01633, allocations: 0.7764 MB / 0.661 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01634, allocations: 0 / 0.661 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.01638, allocations: 20.25 kB / 0.6611 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.01639, allocations: 11.81 kB / 0.6611 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000982/0.01738, allocations: 0.7525 MB / 0.6618 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.01911, allocations: 1.644 MB / 0.6634 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.02044, allocations: 0.8025 MB / 0.6642 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/0.02089, allocations: 338.1 kB / 0.6645 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.02136, allocations: 196.3 kB / 0.6647 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.02186, allocations: 430 kB / 0.6651 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 1.573e-06/0.02187, allocations: 0 / 0.6651 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.001378/0.02324, allocations: 1.008 MB / 0.6661 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.02327, allocations: 119.2 kB / 0.6662 GB, free: 13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.02353, allocations: 451 kB / 0.6666 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.02356, allocations: 37.7 kB / 0.6667 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.02365, allocations: 281.1 kB / 0.6669 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.02372, allocations: 186.4 kB / 0.6671 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.02383, allocations: 122.2 kB / 0.6672 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.02387, allocations: 362.7 kB / 0.6676 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.02427, allocations: 309.1 kB / 0.6679 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.02472, allocations: 488.8 kB / 0.6683 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.02554, allocations: 0.7093 MB / 0.669 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02555, allocations: 0 / 0.669 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009939/0.02654, allocations: 0.8133 MB / 0.6698 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.02655, allocations: 8 kB / 0.6698 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.02656, allocations: 4 kB / 0.6698 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.02657, allocations: 4 kB / 0.6698 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.02696, allocations: 175.9 kB / 0.67 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.02696, allocations: 11.98 kB / 0.67 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.02725, allocations: 102.5 kB / 0.6701 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.02728, allocations: 35.91 kB / 0.6702 GB, free: 8.805 MB / 0.5105 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.0001502/0.02743, allocations: 209.6 kB / 0.6704 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.02749, allocations: 67.5 kB / 0.6704 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.02857, allocations: 0.8893 MB / 0.6713 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02858, allocations: 4 kB / 0.6713 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.02858, allocations: 0 / 0.6713 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.02858, allocations: 7.984 kB / 0.6713 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.02995, allocations: 1.475 MB / 0.6727 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02995, allocations: 0 / 0.6727 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.03029, allocations: 151.8 kB / 0.6729 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.03029, allocations: 0 / 0.6729 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.03032, allocations: 23.98 kB / 0.6729 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.03032, allocations: 7.938 kB / 0.6729 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03032, allocations: 0 / 0.6729 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.03121, allocations: 0.8585 MB / 0.6738 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.03135, allocations: 135.4 kB / 0.6739 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.0314, allocations: 16 kB / 0.6739 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.03166, allocations: 59.81 kB / 0.674 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.03172, allocations: 44.58 kB / 0.674 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.03175, allocations: 23.97 kB / 0.674 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001719/0.03192, allocations: 311.1 kB / 0.6743 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03192, allocations: 0 / 0.6743 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000432/0.03235, allocations: 255.3 kB / 0.6746 GB, free: 4.211 MB / 0.5105 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.001934/0.03429, allocations: 1.906 MB / 0.6764 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.03529, allocations: 0.7037 MB / 0.6771 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.0353, allocations: 4 kB / 0.6771 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.03571, allocations: 359.9 kB / 0.6775 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.03601, allocations: 76.31 kB / 0.6775 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.04128, allocations: 5.372 MB / 0.6828 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.04144, allocations: 286.2 kB / 0.6831 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.04179, allocations: 152.5 kB / 0.6832 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.04207, allocations: 232.3 kB / 0.6834 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.04207, allocations: 0 / 0.6834 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.06806, allocations: 15.92 MB / 0.699 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.786, allocations: 10.75 kB / 0.699 GB, free: 11.3 MB / 0.5417 GB " [Timeout remaining time 653] (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: 9.476024833507836] Failed to read output from testmodel.py, exit status != 0: 6.906377207487822 6.915967815 6.902552003 Calling exit ...