Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.0009927/0.0009927, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001158/0.001158, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8919/0.8919, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.001447/0.001447, allocations: 230.5 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.6619/0.6619, allocations: 138.4 MB / 454.3 MB, free: 30 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.PVModuleComplex,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleComplex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleComplex",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6462 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.129e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.2537/0.2537, allocations: 3.47 MB / 0.6496 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004124/0.2579, allocations: 3.493 MB / 0.653 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004213/0.2583, allocations: 14.91 kB / 0.6531 GB, free: 53.76 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.000516/0.2588, allocations: 122.1 kB / 0.6532 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.2601, allocations: 0.507 MB / 0.6537 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007651/0.2609, allocations: 372 kB / 0.654 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007507/0.2617, allocations: 0.7931 MB / 0.6548 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.2619, allocations: 124 kB / 0.6549 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.2624, allocations: 465.3 kB / 0.6554 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.2628, allocations: 259 kB / 0.6556 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.931e-05/0.2629, allocations: 70.47 kB / 0.6557 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009792/0.2638, allocations: 0.5445 MB / 0.6562 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.264, allocations: 181.5 kB / 0.6564 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2642, allocations: 214.1 kB / 0.6566 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.2658, allocations: 1.247 MB / 0.6578 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2658, allocations: 0 / 0.6578 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2658, allocations: 0.5938 kB / 0.6578 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.2658, allocations: 0 / 0.6578 GB, free: 51.57 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.001708/0.2675, allocations: 0.9673 MB / 0.6588 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.2675, allocations: 12 kB / 0.6588 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.918e-05/0.2676, allocations: 85.91 kB / 0.6588 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.2695, allocations: 0.6124 MB / 0.6594 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2705, allocations: 0.5659 MB / 0.66 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.605e-05/0.2706, allocations: 196.7 kB / 0.6602 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.2707, allocations: 45.2 kB / 0.6602 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.2716, allocations: 0.7441 MB / 0.661 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2716, allocations: 0 / 0.661 GB, free: 49.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.2717, allocations: 24.78 kB / 0.661 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2717, allocations: 10.94 kB / 0.661 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.2727, allocations: 0.6859 MB / 0.6617 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.2751, allocations: 1.616 MB / 0.6632 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.2767, allocations: 0.7688 MB / 0.664 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.2772, allocations: 305.2 kB / 0.6643 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006121/0.2778, allocations: 196.6 kB / 0.6645 GB, free: 48.37 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.2784, allocations: 393.1 kB / 0.6648 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 3.446e-06/0.2784, allocations: 4 kB / 0.6648 GB, free: 48.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53): time 0.001484/0.2799, allocations: 0.9262 MB / 0.6657 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.2799, allocations: 117 kB / 0.6659 GB, free: 47.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.2803, allocations: 440.8 kB / 0.6663 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.2804, allocations: 31.92 kB / 0.6663 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.2805, allocations: 283.1 kB / 0.6666 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/0.2806, allocations: 187.3 kB / 0.6668 GB, free: 47.13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2807, allocations: 119.9 kB / 0.6669 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.2808, allocations: 365.8 kB / 0.6672 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.2812, allocations: 278.5 kB / 0.6675 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.2816, allocations: 462 kB / 0.6679 GB, free: 46.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/0.2824, allocations: 0.6516 MB / 0.6686 GB, free: 46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2824, allocations: 6.094 kB / 0.6686 GB, free: 46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001082/0.2835, allocations: 0.7628 MB / 0.6693 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2836, allocations: 6.469 kB / 0.6693 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2836, allocations: 3.969 kB / 0.6693 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.2836, allocations: 6.031 kB / 0.6693 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.2844, allocations: 253.3 kB / 0.6696 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009487/0.2854, allocations: 1.469 MB / 0.671 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.2858, allocations: 90.98 kB / 0.6711 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.2859, allocations: 29.02 kB / 0.6711 GB, free: 44.23 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): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003268/0.2862, allocations: 215.2 kB / 0.6713 GB, free: 44.06 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.2863, allocations: 58.39 kB / 0.6714 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.2878, allocations: 0.9339 MB / 0.6723 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.2878, allocations: 11.22 kB / 0.6723 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2878, allocations: 0 / 0.6723 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.2879, allocations: 3.094 kB / 0.6723 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.2901, allocations: 1.509 MB / 0.6738 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2901, allocations: 0 / 0.6738 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.2905, allocations: 147.4 kB / 0.6739 GB, free: 42.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.2908, allocations: 62.55 kB / 0.674 GB, free: 42.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.2908, allocations: 19.92 kB / 0.674 GB, free: 42.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009227/0.2917, allocations: 1.471 MB / 0.6754 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.2917, allocations: 0 / 0.6754 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.2931, allocations: 0.909 MB / 0.6763 GB, free: 41.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.2933, allocations: 131.3 kB / 0.6764 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.2934, allocations: 23.75 kB / 0.6765 GB, free: 41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.2937, allocations: 54.2 kB / 0.6765 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2938, allocations: 47.48 kB / 0.6766 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.2938, allocations: 20.61 kB / 0.6766 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003118/0.2941, allocations: 305 kB / 0.6769 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2941, allocations: 0 / 0.6769 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007899/0.2949, allocations: 253.3 kB / 0.6771 GB, free: 40.76 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): 64 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002682/0.2976, allocations: 1.971 MB / 0.679 GB, free: 39.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.2994, allocations: 0.7428 MB / 0.6798 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2994, allocations: 0 / 0.6798 GB, free: 39.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.3001, allocations: 474.2 kB / 0.6802 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.3006, allocations: 70.81 kB / 0.6803 GB, free: 39.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.3072, allocations: 5.178 MB / 0.6853 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3075, allocations: 280 kB / 0.6856 GB, free: 36.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004618/0.308, allocations: 147.8 kB / 0.6858 GB, free: 36.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.3082, allocations: 227.8 kB / 0.686 GB, free: 36.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.283e-06/0.3082, allocations: 3.938 kB / 0.686 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.3411, allocations: 15.99 MB / 0.7016 GB, free: 29.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.949, allocations: 9.469 kB / 0.7016 GB, free: 29.94 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex_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_PVModuleComplex.fmu > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.723527703434229] Failed to read output from testmodel.py, exit status != 0: 8.076192979700863 8.083402349 7.816270608 Calling exit ...