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.001487/0.001487, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001861/0.001861, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.002634/0.002634, allocations: 242.4 kB / 259.8 MB, free: 12.83 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 1.068/1.068, allocations: 138.4 MB / 454.7 MB, free: 1.492 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: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.522e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.00597/0.005995, allocations: 3.492 MB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006354/0.01235, allocations: 3.498 MB / 0.5611 GB, free: 9.883 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.01271, allocations: 11.88 kB / 0.5611 GB, free: 9.871 MB / 490.7 MB [/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.0005643/0.01327, allocations: 134.8 kB / 0.5613 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.01487, allocations: 0.5125 MB / 0.5618 GB, free: 9.223 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.01593, allocations: 363 kB / 0.5621 GB, free: 8.867 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.01705, allocations: 0.7719 MB / 0.5629 GB, free: 8.094 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.01737, allocations: 134.1 kB / 0.563 GB, free: 7.961 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008938/0.01827, allocations: 450.9 kB / 0.5634 GB, free: 7.52 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.01881, allocations: 267.2 kB / 0.5637 GB, free: 7.258 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.01896, allocations: 68 kB / 0.5637 GB, free: 7.191 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.02007, allocations: 0.5422 MB / 0.5643 GB, free: 6.648 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.02033, allocations: 175.4 kB / 0.5644 GB, free: 6.477 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.02067, allocations: 219.3 kB / 0.5646 GB, free: 6.262 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.02266, allocations: 1.262 MB / 0.5659 GB, free: 4.996 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.02266, allocations: 4 kB / 0.5659 GB, free: 4.992 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02266, allocations: 0 / 0.5659 GB, free: 4.992 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.02268, allocations: 0 / 0.5659 GB, free: 4.992 MB / 490.7 MB 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.002516/0.0252, allocations: 0.9689 MB / 0.5668 GB, free: 3.988 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.02524, allocations: 16.75 kB / 0.5668 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/0.02957, allocations: 0.7067 MB / 0.5675 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.03119, allocations: 0.5887 MB / 0.5681 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.03141, allocations: 195.8 kB / 0.5683 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.03152, allocations: 44.38 kB / 0.5683 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.03354, allocations: 0.7899 MB / 0.5691 GB, free: 1.555 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.03356, allocations: 0 / 0.5691 GB, free: 1.555 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.03363, allocations: 16 kB / 0.5691 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.03364, allocations: 12 kB / 0.5691 GB, free: 1.527 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.03599, allocations: 0.7689 MB / 0.5699 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.04008, allocations: 1.624 MB / 0.5715 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.04334, allocations: 0.8098 MB / 0.5723 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.04444, allocations: 342.1 kB / 0.5726 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.04568, allocations: 200.3 kB / 0.5728 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.04692, allocations: 442 kB / 0.5732 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.064e-06/0.04692, allocations: 0 / 0.5732 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.003427/0.05035, allocations: 1.055 MB / 0.5742 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.05044, allocations: 111.3 kB / 0.5743 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.05108, allocations: 451 kB / 0.5748 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.05114, allocations: 33.7 kB / 0.5748 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.05143, allocations: 285 kB / 0.5751 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.05164, allocations: 190.4 kB / 0.5753 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.0519, allocations: 122.2 kB / 0.5754 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.05213, allocations: 366.7 kB / 0.5757 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.05325, allocations: 317.1 kB / 0.576 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.05443, allocations: 0.4928 MB / 0.5765 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.05653, allocations: 0.7133 MB / 0.5772 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.05654, allocations: 0 / 0.5772 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002566/0.0591, allocations: 0.8601 MB / 0.578 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.05912, allocations: 10.91 kB / 0.578 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.05913, allocations: 4 kB / 0.5781 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.05916, allocations: 8 kB / 0.5781 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009996/0.06016, allocations: 179.9 kB / 0.5782 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.06018, allocations: 11.94 kB / 0.5782 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/0.06096, allocations: 103.5 kB / 0.5783 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/0.06104, allocations: 35.97 kB / 0.5784 GB, free: 7.812 MB / 0.4948 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.0003585/0.0614, allocations: 213.6 kB / 0.5786 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.06159, allocations: 63.67 kB / 0.5786 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.06435, allocations: 0.9128 MB / 0.5795 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.06436, allocations: 8 kB / 0.5795 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.06437, allocations: 0 / 0.5795 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.06437, allocations: 0 / 0.5795 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.06779, allocations: 1.449 MB / 0.581 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.06779, allocations: 0 / 0.581 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.06868, allocations: 155.8 kB / 0.5811 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.06869, allocations: 0 / 0.5811 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/0.06876, allocations: 27.97 kB / 0.5811 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.06876, allocations: 0 / 0.5811 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.06876, allocations: 4 kB / 0.5811 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.07114, allocations: 0.9014 MB / 0.582 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.07146, allocations: 135.4 kB / 0.5821 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.07155, allocations: 12 kB / 0.5822 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006957/0.07225, allocations: 63.92 kB / 0.5822 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.07237, allocations: 40.58 kB / 0.5823 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.07243, allocations: 23.97 kB / 0.5823 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004286/0.07286, allocations: 319.1 kB / 0.5826 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.07286, allocations: 0 / 0.5826 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009228/0.07379, allocations: 255.2 kB / 0.5828 GB, free: 3.188 MB / 0.4948 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.002359/0.07615, allocations: 0.6008 MB / 0.5834 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.07837, allocations: 0.7271 MB / 0.5841 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.07837, allocations: 448 / 0.5841 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.07944, allocations: 375.5 kB / 0.5845 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.08, allocations: 89.88 kB / 0.5846 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.08268, allocations: 1.208 MB / 0.5857 GB, free: 356 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.08304, allocations: 282.2 kB / 0.586 GB, free: 44 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006869/0.08372, allocations: 160.4 kB / 0.5862 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.08406, allocations: 80.42 kB / 0.5862 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.08406, allocations: 0 / 0.5862 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.01947/0.1035, allocations: 9.514 MB / 0.5955 GB, free: 6.375 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.092000520089641]