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.001339/0.001339, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001362/0.001362, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.413/1.413, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.002662/0.002662, allocations: 246.3 kB / 259.4 MB, free: 476 kB / 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.031/1.031, allocations: 138.4 MB / 454.3 MB, free: 2.02 MB / 366.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: 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.433e-06/1.433e-06, allocations: 0 / 0.6467 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.977e-05, allocations: 6.219 kB / 0.6467 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.004961/0.004981, allocations: 3.474 MB / 0.6501 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2623/0.2673, allocations: 3.49 MB / 0.6535 GB, free: 53.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.2676, allocations: 11.38 kB / 0.6536 GB, free: 53.31 MB / 0.5606 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.0005085/0.2681, allocations: 128 kB / 0.6537 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.2691, allocations: 0.5098 MB / 0.6542 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.2698, allocations: 360 kB / 0.6545 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.2703, allocations: 0.7936 MB / 0.6553 GB, free: 52.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.2705, allocations: 136.2 kB / 0.6554 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.271, allocations: 467.8 kB / 0.6559 GB, free: 52.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.2713, allocations: 258.4 kB / 0.6561 GB, free: 52.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.323e-05/0.2714, allocations: 66.56 kB / 0.6562 GB, free: 52.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000711/0.2721, allocations: 0.541 MB / 0.6567 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.2722, allocations: 180.5 kB / 0.6569 GB, free: 52.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.2724, allocations: 214.8 kB / 0.6571 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.2735, allocations: 1.257 MB / 0.6583 GB, free: 52.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2735, allocations: 3.328 kB / 0.6583 GB, free: 52.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2735, allocations: 0 / 0.6583 GB, free: 52.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2735, allocations: 0 / 0.6583 GB, free: 52.24 MB / 0.5606 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.0018/0.2753, allocations: 0.9604 MB / 0.6593 GB, free: 51.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2753, allocations: 10.69 kB / 0.6593 GB, free: 51.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.2808, allocations: 0.6098 MB / 0.6599 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.2827, allocations: 0.5657 MB / 0.6604 GB, free: 51.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.2828, allocations: 194.3 kB / 0.6606 GB, free: 50.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2829, allocations: 46.94 kB / 0.6606 GB, free: 50.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.2849, allocations: 0.7321 MB / 0.6614 GB, free: 50.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.2849, allocations: 7.875 kB / 0.6614 GB, free: 50.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.872e-05/0.285, allocations: 22.44 kB / 0.6614 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.285, allocations: 9.938 kB / 0.6614 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/0.2875, allocations: 0.6872 MB / 0.6621 GB, free: 50.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.2918, allocations: 1.547 MB / 0.6636 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003914/0.2957, allocations: 0.7747 MB / 0.6643 GB, free: 49.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.2969, allocations: 299.8 kB / 0.6646 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.2984, allocations: 198.8 kB / 0.6648 GB, free: 49.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.2996, allocations: 397 kB / 0.6652 GB, free: 49.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 4.238e-06/0.2997, allocations: 3.844 kB / 0.6652 GB, free: 49.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.003681/0.3033, allocations: 0.9342 MB / 0.6661 GB, free: 48.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3034, allocations: 108.6 kB / 0.6662 GB, free: 48.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.304, allocations: 431.5 kB / 0.6666 GB, free: 48.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.3041, allocations: 36.61 kB / 0.6667 GB, free: 48.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.3043, allocations: 278.8 kB / 0.6669 GB, free: 48.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.3045, allocations: 185.6 kB / 0.6671 GB, free: 47.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.3048, allocations: 122.7 kB / 0.6672 GB, free: 47.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3049, allocations: 361.2 kB / 0.6676 GB, free: 47.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009534/0.3058, allocations: 275.1 kB / 0.6678 GB, free: 47.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.307, allocations: 465.8 kB / 0.6683 GB, free: 47.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.3092, allocations: 0.6538 MB / 0.6689 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3092, allocations: 2.719 kB / 0.6689 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002779/0.312, allocations: 0.7589 MB / 0.6696 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.312, allocations: 8.188 kB / 0.6697 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3121, allocations: 2.594 kB / 0.6697 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.3121, allocations: 8.312 kB / 0.6697 GB, free: 46.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.3147, allocations: 258.8 kB / 0.6699 GB, free: 46.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.3167, allocations: 1.445 MB / 0.6713 GB, free: 45.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3177, allocations: 87.72 kB / 0.6714 GB, free: 45.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.3178, allocations: 34.2 kB / 0.6714 GB, free: 45.11 MB / 0.5606 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.0004359/0.3182, allocations: 207.8 kB / 0.6716 GB, free: 44.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.3184, allocations: 54.97 kB / 0.6717 GB, free: 44.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.3221, allocations: 0.933 MB / 0.6726 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3221, allocations: 7.906 kB / 0.6726 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3221, allocations: 0.6562 kB / 0.6726 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.3221, allocations: 2.766 kB / 0.6726 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/0.3267, allocations: 1.447 MB / 0.674 GB, free: 43.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3267, allocations: 0 / 0.674 GB, free: 43.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.3279, allocations: 141.2 kB / 0.6742 GB, free: 43.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.3286, allocations: 60.03 kB / 0.6742 GB, free: 43.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.3287, allocations: 18.55 kB / 0.6742 GB, free: 43.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.3306, allocations: 1.463 MB / 0.6757 GB, free: 42.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3306, allocations: 0 / 0.6757 GB, free: 42.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.3338, allocations: 0.9151 MB / 0.6766 GB, free: 42.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.3342, allocations: 139.6 kB / 0.6767 GB, free: 41.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.3344, allocations: 15.3 kB / 0.6767 GB, free: 41.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.3352, allocations: 50.23 kB / 0.6768 GB, free: 41.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.3354, allocations: 45.53 kB / 0.6768 GB, free: 41.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.3355, allocations: 23.33 kB / 0.6768 GB, free: 41.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006179/0.3362, allocations: 299.4 kB / 0.6771 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3362, allocations: 0 / 0.6771 GB, free: 41.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001298/0.3375, allocations: 253.2 kB / 0.6773 GB, free: 41.73 MB / 0.5606 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.002622/0.3401, allocations: 0.6007 MB / 0.6779 GB, free: 41.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003863/0.3439, allocations: 0.7464 MB / 0.6787 GB, free: 41.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3439, allocations: 5.531 kB / 0.6787 GB, free: 41.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.3454, allocations: 473.3 kB / 0.6791 GB, free: 41.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.3462, allocations: 71.75 kB / 0.6792 GB, free: 41.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.3493, allocations: 1.173 MB / 0.6803 GB, free: 40.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3496, allocations: 284.8 kB / 0.6806 GB, free: 40.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005751/0.3502, allocations: 151.6 kB / 0.6807 GB, free: 40.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.3504, allocations: 71.44 kB / 0.6808 GB, free: 40.27 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.3504, allocations: 0 / 0.6808 GB, free: 40.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.02768/0.3781, allocations: 9.21 MB / 0.6898 GB, free: 39.18 MB / 0.5606 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: 6.297223310917616] Failed to read output from testmodel.py, exit status != 0: 0.38688530772924423 0.40457801400000004 0.127466101 Calling exit ...