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.000964/0.000964, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009/0.0009, allocations: 173 kB / 23.49 MB, free: 1.055 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.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.002765/0.002765, allocations: 233.4 kB / 260.5 MB, free: 12.9 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.7448/0.7448, allocations: 138.4 MB / 455.4 MB, free: 1.57 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.463e-06/1.463e-06, allocations: 0 / 0.555 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.221e-05, allocations: 13.77 kB / 0.555 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003785/0.003807, allocations: 3.668 MB / 0.5586 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.007632, allocations: 3.653 MB / 0.5621 GB, free: 9.574 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.007872, allocations: 11.88 kB / 0.5622 GB, free: 9.562 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.0003886/0.008261, allocations: 126.9 kB / 0.5623 GB, free: 9.438 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009741/0.009235, allocations: 0.5164 MB / 0.5628 GB, free: 8.918 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005769/0.009812, allocations: 359 kB / 0.5631 GB, free: 8.566 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.01036, allocations: 0.7758 MB / 0.5639 GB, free: 7.789 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.01055, allocations: 134.4 kB / 0.564 GB, free: 7.656 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.01094, allocations: 455 kB / 0.5644 GB, free: 7.211 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.0112, allocations: 251.2 kB / 0.5647 GB, free: 6.965 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.386e-05/0.01127, allocations: 64 kB / 0.5647 GB, free: 6.902 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/0.01181, allocations: 0.546 MB / 0.5653 GB, free: 6.355 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.01194, allocations: 175.4 kB / 0.5654 GB, free: 6.184 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.0121, allocations: 211.4 kB / 0.5656 GB, free: 5.977 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.01293, allocations: 0.9342 MB / 0.5666 GB, free: 5.039 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01293, allocations: 0 / 0.5666 GB, free: 5.039 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01293, allocations: 0 / 0.5666 GB, free: 5.039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.01294, allocations: 4 kB / 0.5666 GB, free: 5.035 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.001152/0.01409, allocations: 1.053 MB / 0.5676 GB, free: 3.941 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01413, allocations: 20.73 kB / 0.5676 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.01571, allocations: 0.5155 MB / 0.5681 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.01641, allocations: 0.533 MB / 0.5686 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.01653, allocations: 203.7 kB / 0.5688 GB, free: 2.609 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.0166, allocations: 48.38 kB / 0.5689 GB, free: 2.562 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.01743, allocations: 0.622 MB / 0.5695 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.01744, allocations: 4 kB / 0.5695 GB, free: 1.895 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.01748, allocations: 16 kB / 0.5695 GB, free: 1.879 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.0175, allocations: 12 kB / 0.5695 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.01805, allocations: 361.7 kB / 0.5699 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.01994, allocations: 1.38 MB / 0.5712 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.02104, allocations: 481.8 kB / 0.5717 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.02132, allocations: 165.1 kB / 0.5718 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004901/0.02181, allocations: 184.3 kB / 0.572 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.02218, allocations: 255.7 kB / 0.5722 GB, free: 15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 1.784e-06/0.02218, allocations: 0 / 0.5722 GB, free: 15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0009075/0.02309, allocations: 0.5279 MB / 0.5728 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.02314, allocations: 111.3 kB / 0.5729 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.0235, allocations: 459.8 kB / 0.5733 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.02354, allocations: 29.7 kB / 0.5733 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.02371, allocations: 347.7 kB / 0.5737 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.02381, allocations: 178.5 kB / 0.5738 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.02395, allocations: 131.9 kB / 0.574 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.0241, allocations: 0.5352 MB / 0.5745 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.02432, allocations: 117.2 kB / 0.5746 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.02464, allocations: 361 kB / 0.5749 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.02515, allocations: 425 kB / 0.5753 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02515, allocations: 0 / 0.5753 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006844/0.02583, allocations: 0.5008 MB / 0.5758 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.02585, allocations: 4 kB / 0.5758 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.02585, allocations: 4.438 kB / 0.5758 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.02587, allocations: 12 kB / 0.5758 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.02629, allocations: 155.8 kB / 0.576 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.0263, allocations: 11.94 kB / 0.576 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.02657, allocations: 79.58 kB / 0.5761 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.0266, allocations: 35.97 kB / 0.5761 GB, free: 10.79 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.0001558/0.02676, allocations: 196.3 kB / 0.5763 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.02685, allocations: 71.67 kB / 0.5764 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000866/0.02772, allocations: 0.5926 MB / 0.577 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.02772, allocations: 8 kB / 0.577 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.02773, allocations: 0 / 0.577 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.02773, allocations: 3.984 kB / 0.577 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.02892, allocations: 1.089 MB / 0.578 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02892, allocations: 0 / 0.578 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.02928, allocations: 135.8 kB / 0.5782 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.02929, allocations: 0 / 0.5782 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.02932, allocations: 19.98 kB / 0.5782 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.02932, allocations: 0 / 0.5782 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02933, allocations: 3.938 kB / 0.5782 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.03003, allocations: 0.6286 MB / 0.5788 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.03019, allocations: 135.4 kB / 0.5789 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.03025, allocations: 16 kB / 0.5789 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.0305, allocations: 39.95 kB / 0.579 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.03057, allocations: 36.58 kB / 0.579 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.03061, allocations: 27.98 kB / 0.579 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001999/0.03081, allocations: 295 kB / 0.5793 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03081, allocations: 0 / 0.5793 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000507/0.03132, allocations: 251.3 kB / 0.5796 GB, free: 7.184 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.001093/0.03241, allocations: 0.5661 MB / 0.5801 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.03302, allocations: 405.8 kB / 0.5805 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.03302, allocations: 3.938 kB / 0.5805 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.03335, allocations: 228.6 kB / 0.5807 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.03372, allocations: 96.64 kB / 0.5808 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.0353, allocations: 1.014 MB / 0.5818 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.03538, allocations: 132.8 kB / 0.5819 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.03573, allocations: 136.5 kB / 0.5821 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.0359, allocations: 76.44 kB / 0.5821 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.0359, allocations: 4 kB / 0.5821 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of Templates: time 0.01085/0.04675, allocations: 9.279 MB / 0.5912 GB, free: 11.43 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.284643763909116]