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.0008408/0.0008408, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0009626/0.0009626, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8785/0.8785, 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.001818/0.001818, allocations: 245.4 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.6812/0.6812, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.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: 0 / 0.6462 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.016e-05, allocations: 5.094 kB / 0.6462 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.237/0.237, allocations: 3.509 MB / 0.6497 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00367/0.2406, allocations: 3.485 MB / 0.6531 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.241, allocations: 13.38 kB / 0.6531 GB, free: 53.66 MB / 0.5573 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.0004211/0.2414, allocations: 126.8 kB / 0.6532 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.2425, allocations: 0.5132 MB / 0.6537 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.2432, allocations: 365.7 kB / 0.6541 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.2438, allocations: 0.7763 MB / 0.6548 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.244, allocations: 128.9 kB / 0.6549 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004225/0.2444, allocations: 451.3 kB / 0.6554 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.2447, allocations: 255.8 kB / 0.6556 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.2448, allocations: 67.41 kB / 0.6557 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000892/0.2457, allocations: 0.5491 MB / 0.6562 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2458, allocations: 170.1 kB / 0.6564 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.246, allocations: 217.9 kB / 0.6566 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.2472, allocations: 1.242 MB / 0.6578 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2472, allocations: 2.938 kB / 0.6578 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2472, allocations: 0.6562 kB / 0.6578 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.2472, allocations: 0 / 0.6578 GB, free: 51.48 MB / 0.5573 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.001249/0.2484, allocations: 0.9587 MB / 0.6587 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2485, allocations: 11.94 kB / 0.6587 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.988e-05/0.2485, allocations: 89.03 kB / 0.6588 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.2503, allocations: 0.6458 MB / 0.6595 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007737/0.2511, allocations: 0.577 MB / 0.66 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.2512, allocations: 198 kB / 0.6602 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.2513, allocations: 42.78 kB / 0.6602 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009622/0.2522, allocations: 0.7754 MB / 0.661 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2522, allocations: 2.578 kB / 0.661 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.2523, allocations: 20.31 kB / 0.661 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.2523, allocations: 11.12 kB / 0.661 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2534, allocations: 0.7509 MB / 0.6618 GB, free: 49.52 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.2555, allocations: 1.663 MB / 0.6634 GB, free: 48.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.257, allocations: 0.8038 MB / 0.6642 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.2575, allocations: 331.6 kB / 0.6645 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/0.258, allocations: 198.1 kB / 0.6647 GB, free: 48.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006009/0.2586, allocations: 430.6 kB / 0.6651 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 1.944e-06/0.2586, allocations: 0 / 0.6651 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53): time 0.001604/0.2602, allocations: 1.018 MB / 0.6661 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2603, allocations: 109.4 kB / 0.6662 GB, free: 47.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.2606, allocations: 458 kB / 0.6666 GB, free: 47.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2606, allocations: 31.83 kB / 0.6667 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2608, allocations: 283.4 kB / 0.6669 GB, free: 47.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/0.2608, allocations: 184.4 kB / 0.6671 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.261, allocations: 126.4 kB / 0.6672 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.261, allocations: 364.2 kB / 0.6676 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.2614, allocations: 301.5 kB / 0.6679 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.2619, allocations: 493.1 kB / 0.6683 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009054/0.2628, allocations: 0.7044 MB / 0.669 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2628, allocations: 5.75 kB / 0.669 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001134/0.264, allocations: 0.8137 MB / 0.6698 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.264, allocations: 5.656 kB / 0.6698 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.264, allocations: 3.719 kB / 0.6698 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.264, allocations: 5.688 kB / 0.6698 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.2644, allocations: 180.2 kB / 0.67 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2644, allocations: 10.45 kB / 0.67 GB, free: 45.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2648, allocations: 96.05 kB / 0.6701 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.2648, allocations: 32.91 kB / 0.6701 GB, free: 45.46 MB / 0.5573 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.0002037/0.265, allocations: 218.7 kB / 0.6704 GB, free: 45.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.2651, allocations: 56.62 kB / 0.6704 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.2664, allocations: 0.8926 MB / 0.6713 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2664, allocations: 7.188 kB / 0.6713 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2664, allocations: 0 / 0.6713 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2664, allocations: 6.281 kB / 0.6713 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.268, allocations: 1.462 MB / 0.6727 GB, free: 44.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.268, allocations: 0 / 0.6727 GB, free: 44.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.2684, allocations: 148.2 kB / 0.6729 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2684, allocations: 7.672 kB / 0.6729 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.2684, allocations: 19.77 kB / 0.6729 GB, free: 44.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2684, allocations: 3.938 kB / 0.6729 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2684, allocations: 4 kB / 0.6729 GB, free: 44.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2694, allocations: 0.8624 MB / 0.6737 GB, free: 43.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.2696, allocations: 133.2 kB / 0.6739 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.2697, allocations: 11.66 kB / 0.6739 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.27, allocations: 60.38 kB / 0.6739 GB, free: 43.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.27, allocations: 46.86 kB / 0.674 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.2701, allocations: 22.38 kB / 0.674 GB, free: 43.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002352/0.2703, allocations: 315 kB / 0.6743 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2703, allocations: 0 / 0.6743 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000628/0.2709, allocations: 250.2 kB / 0.6745 GB, free: 43.43 MB / 0.5573 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.002107/0.273, allocations: 1.917 MB / 0.6764 GB, free: 42.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.2744, allocations: 0.6999 MB / 0.6771 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2744, allocations: 3.938 kB / 0.6771 GB, free: 42.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.2749, allocations: 366.8 kB / 0.6774 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.2753, allocations: 68.27 kB / 0.6775 GB, free: 42.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.2816, allocations: 5.379 MB / 0.6828 GB, free: 39.14 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2819, allocations: 283.9 kB / 0.683 GB, free: 39.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004611/0.2823, allocations: 157.6 kB / 0.6832 GB, free: 38.99 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.2826, allocations: 231.7 kB / 0.6834 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/0.2826, allocations: 0 / 0.6834 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.3152, allocations: 15.94 MB / 0.699 GB, free: 32.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/6.919, allocations: 4.5 kB / 0.699 GB, free: 32.72 MB / 0.5573 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 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.677480967715383] Failed to read output from testmodel.py, exit status != 0: 7.039912634529173 7.050337265 6.801270587 Calling exit ...