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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002237/0.002237, allocations: 282.3 kB / 303.6 MB, free: 3.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9853/0.9853, allocations: 180.9 MB / 0.5268 GB, free: 2.727 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002764/0.002764, allocations: 99.84 kB / 0.7259 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4719, allocations: 94.16 MB / 0.8178 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.004218/0.4761, allocations: 3.764 MB / 0.8215 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003877/0.48, allocations: 3.459 MB / 0.8249 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.4803, allocations: 9.75 kB / 0.8249 GB, free: 2.359 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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 2.0.0-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 2.0.0-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.0004239/0.4807, allocations: 120.1 kB / 0.825 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009698/0.4817, allocations: 467 kB / 0.8255 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.4823, allocations: 360.1 kB / 0.8258 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000568/0.4829, allocations: 0.7493 MB / 0.8265 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.4831, allocations: 142.8 kB / 0.8267 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.4834, allocations: 305.3 kB / 0.827 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.4838, allocations: 328.4 kB / 0.8273 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.897e-05/0.4839, allocations: 64.25 kB / 0.8273 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007459/0.4846, allocations: 0.4967 MB / 0.8278 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.4848, allocations: 169.5 kB / 0.828 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.485, allocations: 328 kB / 0.8283 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.4861, allocations: 1.091 MB / 0.8294 GB, free: 168 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4861, allocations: 3.516 kB / 0.8294 GB, free: 168 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4861, allocations: 0 / 0.8294 GB, free: 168 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.4861, allocations: 0 / 0.8294 GB, free: 168 kB / 0.5762 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.001819/0.4879, allocations: 1.013 MB / 0.8303 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.488, allocations: 14.97 kB / 0.8304 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.4913, allocations: 0.6219 MB / 0.831 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.4927, allocations: 0.6238 MB / 0.8316 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4928, allocations: 125 kB / 0.8317 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.4929, allocations: 49.78 kB / 0.8317 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.4944, allocations: 0.695 MB / 0.8324 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4945, allocations: 4 kB / 0.8324 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.4945, allocations: 24.77 kB / 0.8324 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4945, allocations: 11.22 kB / 0.8325 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.4965, allocations: 0.7589 MB / 0.8332 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/0.4999, allocations: 1.81 MB / 0.835 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.5026, allocations: 0.803 MB / 0.8358 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.5035, allocations: 328.3 kB / 0.8361 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/0.5055, allocations: 1.764 MB / 0.8378 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.5066, allocations: 430.4 kB / 0.8382 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 4.639e-06/0.5066, allocations: 4.719 kB / 0.8382 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.003049/0.5096, allocations: 1.01 MB / 0.8392 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.5097, allocations: 109.6 kB / 0.8393 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.5103, allocations: 432.8 kB / 0.8397 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.5104, allocations: 35.89 kB / 0.8397 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.5106, allocations: 284 kB / 0.84 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.5109, allocations: 188.4 kB / 0.8402 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.5111, allocations: 120.2 kB / 0.8403 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.5113, allocations: 358.9 kB / 0.8406 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.5123, allocations: 302.5 kB / 0.8409 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.5135, allocations: 437.2 kB / 0.8414 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.5153, allocations: 0.7085 MB / 0.842 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5153, allocations: 1.062 kB / 0.842 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002198/0.5175, allocations: 0.8183 MB / 0.8428 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5175, allocations: 6.062 kB / 0.8429 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5175, allocations: 4.484 kB / 0.8429 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5175, allocations: 10.88 kB / 0.8429 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.5184, allocations: 177 kB / 0.843 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.5184, allocations: 10.39 kB / 0.843 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.5191, allocations: 106.9 kB / 0.8431 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.5192, allocations: 31.61 kB / 0.8432 GB, free: 8.25 MB / 0.5919 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.0003367/0.5195, allocations: 205.5 kB / 0.8434 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5196, allocations: 53.34 kB / 0.8434 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.522, allocations: 0.89 MB / 0.8443 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.522, allocations: 6.922 kB / 0.8443 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.522, allocations: 7.938 kB / 0.8443 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.522, allocations: 4.656 kB / 0.8443 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.5251, allocations: 1.575 MB / 0.8458 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5251, allocations: 4 kB / 0.8459 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007741/0.5259, allocations: 150.6 kB / 0.846 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.5259, allocations: 6.219 kB / 0.846 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.526, allocations: 17.92 kB / 0.846 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.526, allocations: 2.344 kB / 0.846 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.526, allocations: 1.672 kB / 0.846 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.528, allocations: 0.8596 MB / 0.8469 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.5283, allocations: 210.7 kB / 0.8471 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.5284, allocations: 19.72 kB / 0.8471 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.529, allocations: 57.09 kB / 0.8471 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5291, allocations: 39.73 kB / 0.8472 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.5291, allocations: 23.45 kB / 0.8472 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003845/0.5295, allocations: 298.5 kB / 0.8475 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5295, allocations: 0 / 0.8475 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008184/0.5303, allocations: 238.1 kB / 0.8477 GB, free: 6.062 MB / 0.5919 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.001601/0.5319, allocations: 0.4957 MB / 0.8482 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.534, allocations: 0.7003 MB / 0.8489 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.534, allocations: 4 kB / 0.8489 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009053/0.5349, allocations: 359.8 kB / 0.8492 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.5354, allocations: 68.02 kB / 0.8493 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.5378, allocations: 1.285 MB / 0.8505 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.5383, allocations: 0.8802 MB / 0.8514 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.5387, allocations: 82.67 kB / 0.8515 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5387, allocations: 0 / 0.8515 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of Templates: time 0.01485/0.5536, allocations: 10.24 MB / 0.8615 GB, free: 14.73 MB / 0.6075 GB " [Timeout remaining time 659] 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: 8.56377488002181] Failed to read output from testmodel.py, exit status != 0: 0.5613252040930092 0.5735004850000001 0.08467569000000001 Calling exit ...