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.0009436/0.0009436, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009437/0.0009437, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9776/0.9776, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.008175/0.008175, allocations: 240 kB / 260.5 MB, free: 12.68 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.7401/0.7401, allocations: 138.4 MB / 402.2 MB, free: 0.543 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.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.182e-06/1.182e-06, allocations: 0 / 462.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.845e-05, allocations: 3.5 kB / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003954/0.003972, allocations: 3.598 MB / 465.9 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.008499, allocations: 3.715 MB / 469.6 MB, free: 11.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.008831, allocations: 14.25 kB / 469.6 MB, free: 11.39 MB / 426.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.0004429/0.009273, allocations: 118.9 kB / 469.7 MB, free: 11.28 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.01053, allocations: 0.5181 MB / 470.2 MB, free: 10.76 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.01173, allocations: 371.5 kB / 470.6 MB, free: 10.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.01251, allocations: 0.789 MB / 471.4 MB, free: 9.609 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.01275, allocations: 144.3 kB / 471.5 MB, free: 9.477 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006465/0.01339, allocations: 463.7 kB / 472 MB, free: 9.023 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003819/0.01377, allocations: 248.5 kB / 472.2 MB, free: 8.781 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.01385, allocations: 68 kB / 472.3 MB, free: 8.715 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008914/0.01475, allocations: 0.5498 MB / 472.8 MB, free: 8.164 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.01489, allocations: 172.3 kB / 473 MB, free: 7.996 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.01506, allocations: 211.4 kB / 473.2 MB, free: 7.789 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.01639, allocations: 0.9274 MB / 474.1 MB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.0164, allocations: 0 / 474.1 MB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.0164, allocations: 1.75 kB / 474.1 MB, free: 6.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.01641, allocations: 4 kB / 474.1 MB, free: 6.855 MB / 426.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.001304/0.01772, allocations: 0.9316 MB / 475.1 MB, free: 5.902 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.01775, allocations: 16.67 kB / 475.1 MB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.01884, allocations: 320.8 kB / 475.4 MB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.01928, allocations: 347.6 kB / 475.7 MB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.01939, allocations: 204.8 kB / 475.9 MB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.01945, allocations: 49.08 kB / 476 MB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.02002, allocations: 0.5049 MB / 476.5 MB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.02003, allocations: 2.656 kB / 476.5 MB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.02007, allocations: 21.59 kB / 476.5 MB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.02008, allocations: 12.56 kB / 476.5 MB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.02041, allocations: 234.8 kB / 476.8 MB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.02205, allocations: 1.018 MB / 477.8 MB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/0.02277, allocations: 361.1 kB / 478.1 MB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.02295, allocations: 120.8 kB / 478.2 MB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004571/0.02341, allocations: 181.4 kB / 478.4 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.02367, allocations: 226.9 kB / 478.6 MB, free: 2.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.863e-06/0.02367, allocations: 0 / 478.6 MB, free: 2.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.0004958/0.02416, allocations: 335.9 kB / 479 MB, free: 1.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.02421, allocations: 111.2 kB / 479.1 MB, free: 1.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.02444, allocations: 371.6 kB / 479.4 MB, free: 1.398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.02449, allocations: 38.33 kB / 479.5 MB, free: 1.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.02459, allocations: 238 kB / 479.7 MB, free: 1.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.02469, allocations: 175.8 kB / 479.9 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.02483, allocations: 118.2 kB / 480 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.02492, allocations: 362.7 kB / 480.4 MB, free: 476 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.02504, allocations: 70.3 kB / 480.4 MB, free: 408 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.02523, allocations: 269.6 kB / 480.7 MB, free: 84 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.02557, allocations: 320 kB / 481 MB, free: 15.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.02558, allocations: 3.938 kB / 481 MB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006439/0.02622, allocations: 340.4 kB / 481.3 MB, free: 15.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.02624, allocations: 4 kB / 481.3 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.02625, allocations: 5.156 kB / 481.3 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.02626, allocations: 8 kB / 481.4 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.02811, allocations: 0.5248 MB / 481.9 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.02913, allocations: 1.373 MB / 483.2 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.0294, allocations: 69.91 kB / 483.3 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.02944, allocations: 27.91 kB / 483.3 MB, free: 13.3 MB / 442.7 MB 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): 68 * 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.0001621/0.0296, allocations: 141.3 kB / 483.5 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.02968, allocations: 53.64 kB / 483.5 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008811/0.03056, allocations: 0.5062 MB / 484 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.03057, allocations: 13.58 kB / 484.1 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.03057, allocations: 0.625 kB / 484.1 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.03058, allocations: 5.328 kB / 484.1 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.03174, allocations: 0.8258 MB / 484.9 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.03174, allocations: 0 / 484.9 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.03205, allocations: 120.4 kB / 485 MB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/0.03257, allocations: 131.6 kB / 485.1 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.03261, allocations: 20.94 kB / 485.2 MB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009111/0.03352, allocations: 1.333 MB / 486.5 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.03352, allocations: 4.656 kB / 486.5 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.0342, allocations: 499.2 kB / 487 MB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.03435, allocations: 98.77 kB / 487.1 MB, free: 9.461 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.03441, allocations: 19.92 kB / 487.1 MB, free: 9.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.03462, allocations: 29.83 kB / 487.1 MB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.03469, allocations: 49.52 kB / 487.2 MB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.03473, allocations: 19.92 kB / 487.2 MB, free: 9.348 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.03485, allocations: 153.3 kB / 487.3 MB, free: 9.195 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03485, allocations: 0 / 487.3 MB, free: 9.195 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005734/0.03542, allocations: 265.1 kB / 487.6 MB, free: 8.938 MB / 442.7 MB 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.001509/0.03693, allocations: 0.6965 MB / 488.3 MB, free: 8.582 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.03872, allocations: 0.5762 MB / 488.9 MB, free: 8.012 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/0.03873, allocations: 4 kB / 488.9 MB, free: 8.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.03911, allocations: 317.4 kB / 489.2 MB, free: 7.684 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.03942, allocations: 81.66 kB / 489.3 MB, free: 7.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.0408, allocations: 0.9869 MB / 490.3 MB, free: 6.598 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.738e-05/0.04089, allocations: 140.8 kB / 490.4 MB, free: 6.438 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.04123, allocations: 122.4 kB / 490.5 MB, free: 6.359 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.04154, allocations: 167.3 kB / 490.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/0.04154, allocations: 0 / 490.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of Templates: time 0.01351/0.05505, allocations: 10.81 MB / 0.4897 GB, free: 11.71 MB / 458.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.032682815100998]