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.001597/0.001597, allocations: 78.73 kB / 19.01 MB, free: 2.859 MB / 14.72 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.001449/0.001449, allocations: 160.3 kB / 22.26 MB, free: 5.105 MB / 14.72 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.414/1.414, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 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.002554/0.002554, allocations: 236.7 kB / 259.3 MB, free: 0.582 MB / 238.1 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.04/1.04, allocations: 138.5 MB / 454.2 MB, free: 2.027 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003299/0.003299, allocations: 99.86 kB / 0.6466 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3746, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.005959/0.3806, allocations: 3.478 MB / 0.7431 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.3862, allocations: 3.483 MB / 0.7465 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.3866, allocations: 19.81 kB / 0.7465 GB, free: 8.188 MB / 0.5762 GB [/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.0004862/0.3871, allocations: 116.1 kB / 0.7466 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.3884, allocations: 0.5012 MB / 0.7471 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.3892, allocations: 373.9 kB / 0.7474 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.39, allocations: 0.7761 MB / 0.7482 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.3903, allocations: 130.4 kB / 0.7483 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.3909, allocations: 482.7 kB / 0.7488 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.3913, allocations: 301.4 kB / 0.7491 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.3914, allocations: 68 kB / 0.7491 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009371/0.3924, allocations: 0.5463 MB / 0.7497 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.3926, allocations: 175.4 kB / 0.7498 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.3929, allocations: 258.7 kB / 0.7501 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3943, allocations: 1.175 MB / 0.7512 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3943, allocations: 0 / 0.7512 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3943, allocations: 3.938 kB / 0.7512 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.3943, allocations: 0 / 0.7512 GB, free: 3.305 MB / 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.002112/0.3964, allocations: 0.9652 MB / 0.7522 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3965, allocations: 13.34 kB / 0.7522 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.4003, allocations: 0.6014 MB / 0.7528 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.4019, allocations: 0.5699 MB / 0.7533 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.4021, allocations: 199.8 kB / 0.7535 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.4022, allocations: 55.94 kB / 0.7536 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4038, allocations: 0.731 MB / 0.7543 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.4038, allocations: 0 / 0.7543 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.4039, allocations: 24 kB / 0.7543 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4039, allocations: 12 kB / 0.7543 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.4058, allocations: 0.683 MB / 0.755 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.4093, allocations: 1.536 MB / 0.7565 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.412, allocations: 0.769 MB / 0.7572 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.4128, allocations: 306.2 kB / 0.7575 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.414, allocations: 200.2 kB / 0.7577 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009106/0.4149, allocations: 398 kB / 0.7581 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.4149, allocations: 0 / 0.7581 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.002577/0.4175, allocations: 0.9377 MB / 0.759 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.4175, allocations: 107.3 kB / 0.7591 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.4181, allocations: 430.4 kB / 0.7595 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.4181, allocations: 41.64 kB / 0.7596 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.4184, allocations: 289 kB / 0.7599 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.4186, allocations: 182.4 kB / 0.76 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.4188, allocations: 118.2 kB / 0.7601 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.419, allocations: 366.7 kB / 0.7605 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/0.4197, allocations: 277.1 kB / 0.7608 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008942/0.4206, allocations: 456.8 kB / 0.7612 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4222, allocations: 0.6547 MB / 0.7618 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4222, allocations: 4 kB / 0.7618 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001898/0.4241, allocations: 0.7626 MB / 0.7626 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4241, allocations: 4 kB / 0.7626 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4241, allocations: 4 kB / 0.7626 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.4241, allocations: 11.94 kB / 0.7626 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.4259, allocations: 251.8 kB / 0.7628 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.4277, allocations: 1.447 MB / 0.7643 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.4284, allocations: 95.72 kB / 0.7643 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.4284, allocations: 31.97 kB / 0.7644 GB, free: 5.383 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): 69 * 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.0003233/0.4288, allocations: 201.7 kB / 0.7646 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4289, allocations: 59.56 kB / 0.7646 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.4316, allocations: 0.933 MB / 0.7655 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4316, allocations: 4 kB / 0.7655 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.4316, allocations: 0 / 0.7655 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4316, allocations: 3.984 kB / 0.7655 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.4348, allocations: 1.449 MB / 0.767 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4348, allocations: 3.938 kB / 0.767 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.4356, allocations: 143.8 kB / 0.7671 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.4361, allocations: 64.8 kB / 0.7672 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.4361, allocations: 23.92 kB / 0.7672 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.4378, allocations: 1.447 MB / 0.7686 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4378, allocations: 4.062 kB / 0.7686 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.4401, allocations: 0.91 MB / 0.7695 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.4405, allocations: 131.4 kB / 0.7696 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/0.4405, allocations: 8 kB / 0.7696 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.4412, allocations: 55.94 kB / 0.7697 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.4413, allocations: 52.5 kB / 0.7697 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.4413, allocations: 23.98 kB / 0.7697 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000386/0.4417, allocations: 295.1 kB / 0.77 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4417, allocations: 0 / 0.77 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008187/0.4425, allocations: 255.3 kB / 0.7703 GB, free: 15.14 MB / 0.6075 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): 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.001924/0.4445, allocations: 0.5939 MB / 0.7709 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.4472, allocations: 0.7544 MB / 0.7716 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4472, allocations: 0 / 0.7716 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.4483, allocations: 474.6 kB / 0.772 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.4488, allocations: 68.94 kB / 0.7721 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.4513, allocations: 1.24 MB / 0.7733 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4516, allocations: 278.2 kB / 0.7736 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005826/0.4522, allocations: 152.4 kB / 0.7737 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.4525, allocations: 76.44 kB / 0.7738 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.4525, allocations: 0 / 0.7738 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.01857/0.471, allocations: 9.192 MB / 0.7828 GB, free: 2.547 MB / 0.6075 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.177296416833997] Failed to read output from testmodel.py, exit status != 0: 0.4805166721343994 0.49584554899999994 0.09830677800000001 Calling exit ...