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.00182/0.00182, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001731/0.001731, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9308/0.9308, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001708/0.001708, allocations: 237.8 kB / 261.3 MB, free: 12.66 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.8091/0.8091, allocations: 138.4 MB / 456.3 MB, free: 29.97 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.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.392e-06/1.392e-06, allocations: 0 / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.192e-05, allocations: 10.11 kB / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003719/0.003741, allocations: 3.633 MB / 0.5598 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.00748, allocations: 3.63 MB / 0.5634 GB, free: 8.613 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.007765, allocations: 11.88 kB / 0.5634 GB, free: 8.602 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.0003901/0.008155, allocations: 130.9 kB / 0.5635 GB, free: 8.473 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.009137, allocations: 0.5125 MB / 0.564 GB, free: 7.957 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.009725, allocations: 367 kB / 0.5644 GB, free: 7.598 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006767/0.0104, allocations: 0.7758 MB / 0.5651 GB, free: 6.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.01061, allocations: 130.4 kB / 0.5653 GB, free: 6.691 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.01114, allocations: 458.9 kB / 0.5657 GB, free: 6.242 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.01147, allocations: 247.3 kB / 0.5659 GB, free: 6 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.01154, allocations: 68 kB / 0.566 GB, free: 5.934 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.0123, allocations: 0.5421 MB / 0.5665 GB, free: 5.391 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.01242, allocations: 171.3 kB / 0.5667 GB, free: 5.223 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.01257, allocations: 211.5 kB / 0.5669 GB, free: 5.016 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009626/0.01354, allocations: 0.9148 MB / 0.5678 GB, free: 4.098 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.01354, allocations: 0 / 0.5678 GB, free: 4.098 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01354, allocations: 0 / 0.5678 GB, free: 4.098 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.01355, allocations: 0 / 0.5678 GB, free: 4.098 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.001215/0.01476, allocations: 1.077 MB / 0.5688 GB, free: 2.984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.01479, allocations: 9.938 kB / 0.5688 GB, free: 2.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.0161, allocations: 396 kB / 0.5692 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.01658, allocations: 456.9 kB / 0.5697 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.0167, allocations: 199.8 kB / 0.5699 GB, free: 1.883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.01677, allocations: 48.38 kB / 0.5699 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.01747, allocations: 0.5464 MB / 0.5704 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01748, allocations: 0 / 0.5704 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.01752, allocations: 20 kB / 0.5705 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01753, allocations: 15.98 kB / 0.5705 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.01793, allocations: 290.6 kB / 0.5707 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.01978, allocations: 1.338 MB / 0.5721 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.02069, allocations: 436.1 kB / 0.5725 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.02091, allocations: 141.1 kB / 0.5726 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/0.02139, allocations: 180.3 kB / 0.5728 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/0.02169, allocations: 239.7 kB / 0.573 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 1.954e-06/0.02169, allocations: 4 kB / 0.573 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0007142/0.02241, allocations: 468.5 kB / 0.5735 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.02245, allocations: 119.3 kB / 0.5736 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.02274, allocations: 442.9 kB / 0.574 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.02278, allocations: 33.7 kB / 0.574 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.02295, allocations: 343.7 kB / 0.5743 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.02306, allocations: 194.4 kB / 0.5745 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.02321, allocations: 127.8 kB / 0.5747 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.02338, allocations: 0.5351 MB / 0.5752 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.02354, allocations: 93.22 kB / 0.5753 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.02379, allocations: 317.2 kB / 0.5756 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.02418, allocations: 381.3 kB / 0.5759 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.02419, allocations: 0 / 0.5759 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005929/0.02478, allocations: 453.2 kB / 0.5764 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.0248, allocations: 10.81 kB / 0.5764 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.0248, allocations: 4 kB / 0.5764 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.02482, allocations: 4 kB / 0.5764 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.02524, allocations: 163.7 kB / 0.5765 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.02525, allocations: 4 kB / 0.5765 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.02552, allocations: 83.67 kB / 0.5766 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.02556, allocations: 27.97 kB / 0.5767 GB, free: 10.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.000164/0.02572, allocations: 196.3 kB / 0.5768 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.02583, allocations: 71.67 kB / 0.5769 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.02661, allocations: 0.5573 MB / 0.5775 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.02661, allocations: 4 kB / 0.5775 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02662, allocations: 4 kB / 0.5775 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.02662, allocations: 3.984 kB / 0.5775 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.02769, allocations: 0.9682 MB / 0.5784 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02769, allocations: 4 kB / 0.5784 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.02805, allocations: 131.8 kB / 0.5785 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.02806, allocations: 8 kB / 0.5785 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.02809, allocations: 15.98 kB / 0.5786 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.02809, allocations: 4 kB / 0.5786 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02809, allocations: 0 / 0.5786 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.02867, allocations: 0.5855 MB / 0.5791 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.02884, allocations: 135.4 kB / 0.5793 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.0289, allocations: 15.98 kB / 0.5793 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.02914, allocations: 35.98 kB / 0.5793 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.0292, allocations: 44.56 kB / 0.5794 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.02924, allocations: 15.98 kB / 0.5794 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001584/0.0294, allocations: 279 kB / 0.5796 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0294, allocations: 0 / 0.5796 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006017/0.03, allocations: 251.3 kB / 0.5799 GB, free: 7.23 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.001125/0.03113, allocations: 0.5817 MB / 0.5804 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004948/0.03162, allocations: 350 kB / 0.5808 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03162, allocations: 0 / 0.5808 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.03194, allocations: 212.7 kB / 0.581 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.0323, allocations: 97.73 kB / 0.5811 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.0337, allocations: 0.9867 MB / 0.582 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.008e-05/0.03379, allocations: 136.8 kB / 0.5822 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003549/0.03414, allocations: 132.3 kB / 0.5823 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.03449, allocations: 206 kB / 0.5825 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/0.03449, allocations: 0 / 0.5825 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.01254/0.04703, allocations: 10.65 MB / 0.5929 GB, free: 10.09 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.056355881039053]