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.0007142/0.0007142, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007694/0.0007694, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8333/0.8333, allocations: 177.2 MB / 203.5 MB, free: 5.75 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.001443/0.001443, allocations: 229.1 kB / 260.2 MB, free: 13.04 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.7083/0.7083, allocations: 138.4 MB / 455.1 MB, free: 29.93 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: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6475 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.29e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.2704/0.2704, allocations: 3.47 MB / 0.6509 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.2736, allocations: 3.491 MB / 0.6543 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.2737, allocations: 16.03 kB / 0.6543 GB, free: 53.62 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.0003852/0.2741, allocations: 114.8 kB / 0.6544 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.2748, allocations: 0.5138 MB / 0.6549 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.2752, allocations: 364.1 kB / 0.6553 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.2757, allocations: 0.7919 MB / 0.656 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2759, allocations: 128.9 kB / 0.6562 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003719/0.2762, allocations: 473.8 kB / 0.6566 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.2765, allocations: 261.1 kB / 0.6569 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.2766, allocations: 66.88 kB / 0.6569 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.2771, allocations: 0.5378 MB / 0.6574 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.2772, allocations: 174.3 kB / 0.6576 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.2774, allocations: 221.7 kB / 0.6578 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009792/0.2783, allocations: 1.248 MB / 0.659 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2783, allocations: 1.719 kB / 0.659 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2783, allocations: 2.062 kB / 0.659 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2784, allocations: 0 / 0.659 GB, free: 51.43 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.001134/0.2795, allocations: 0.9656 MB / 0.66 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2795, allocations: 16.56 kB / 0.66 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.2812, allocations: 0.6061 MB / 0.6606 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.2819, allocations: 0.563 MB / 0.6611 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-05/0.282, allocations: 200.4 kB / 0.6613 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.282, allocations: 47.59 kB / 0.6614 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/0.2828, allocations: 0.7406 MB / 0.6621 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2828, allocations: 1.312 kB / 0.6621 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.2829, allocations: 16.47 kB / 0.6621 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.2829, allocations: 12.97 kB / 0.6621 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000923/0.2838, allocations: 0.6893 MB / 0.6628 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.2857, allocations: 1.542 MB / 0.6643 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.287, allocations: 0.7681 MB / 0.6651 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.2875, allocations: 300.7 kB / 0.6653 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005021/0.288, allocations: 198.8 kB / 0.6655 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004817/0.2885, allocations: 398.4 kB / 0.6659 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 2.164e-06/0.2885, allocations: 3.938 kB / 0.6659 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=53): time 0.00129/0.2898, allocations: 0.9284 MB / 0.6668 GB, free: 47.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2898, allocations: 109.2 kB / 0.6669 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.2901, allocations: 434.8 kB / 0.6673 GB, free: 47.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2901, allocations: 34.92 kB / 0.6674 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2902, allocations: 286.3 kB / 0.6677 GB, free: 47.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.2903, allocations: 184.8 kB / 0.6678 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2904, allocations: 118.9 kB / 0.6679 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.2905, allocations: 361.4 kB / 0.6683 GB, free: 46.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.2908, allocations: 275.5 kB / 0.6686 GB, free: 46.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.2913, allocations: 473.4 kB / 0.669 GB, free: 46.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/0.2921, allocations: 0.6513 MB / 0.6696 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2921, allocations: 2.156 kB / 0.6696 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000946/0.293, allocations: 0.7633 MB / 0.6704 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.293, allocations: 6.719 kB / 0.6704 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.293, allocations: 2.625 kB / 0.6704 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.293, allocations: 10.28 kB / 0.6704 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.2938, allocations: 248.5 kB / 0.6706 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007623/0.2946, allocations: 1.458 MB / 0.6721 GB, free: 44.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.2948, allocations: 88.75 kB / 0.6722 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.2949, allocations: 32.94 kB / 0.6722 GB, free: 44.24 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.0001693/0.295, allocations: 209.7 kB / 0.6724 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.2951, allocations: 56.09 kB / 0.6724 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2964, allocations: 0.9295 MB / 0.6733 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2964, allocations: 16.05 kB / 0.6734 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2964, allocations: 2.375 kB / 0.6734 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2964, allocations: 3.328 kB / 0.6734 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.2981, allocations: 1.438 MB / 0.6748 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2981, allocations: 0.6094 kB / 0.6748 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.2984, allocations: 143.2 kB / 0.6749 GB, free: 42.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002491/0.2986, allocations: 55.31 kB / 0.675 GB, free: 42.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.2987, allocations: 19.89 kB / 0.675 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006589/0.2993, allocations: 1.459 MB / 0.6764 GB, free: 41.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2993, allocations: 0 / 0.6764 GB, free: 41.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.3005, allocations: 0.904 MB / 0.6773 GB, free: 41.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.3006, allocations: 145.1 kB / 0.6774 GB, free: 41.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.3007, allocations: 11.75 kB / 0.6774 GB, free: 41.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3009, allocations: 53.19 kB / 0.6775 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.301, allocations: 49.12 kB / 0.6775 GB, free: 41.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.301, allocations: 24.14 kB / 0.6776 GB, free: 41.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001945/0.3012, allocations: 292.8 kB / 0.6778 GB, free: 40.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.3012, allocations: 0 / 0.6778 GB, free: 40.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004766/0.3017, allocations: 254.9 kB / 0.6781 GB, free: 40.86 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.0008971/0.3026, allocations: 0.6056 MB / 0.6787 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.304, allocations: 0.7486 MB / 0.6794 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.304, allocations: 0 / 0.6794 GB, free: 40.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.3046, allocations: 481.1 kB / 0.6799 GB, free: 40.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3049, allocations: 72.86 kB / 0.6799 GB, free: 40.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3064, allocations: 1.212 MB / 0.6811 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3066, allocations: 283.2 kB / 0.6814 GB, free: 39.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.3068, allocations: 83.47 kB / 0.6815 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of SimCode: time 5.62e-07/0.3068, allocations: 0 / 0.6815 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.01189/0.3187, allocations: 13.04 MB / 0.6942 GB, free: 35.34 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.880431006662548] Failed to read output from testmodel.py, exit status != 0: 0.3241924336180091 0.33066900899999996 0.05085743 Calling exit ...