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.002429/0.002429, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002903/0.002903, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.003175/0.003175, allocations: 245.2 kB / 259.8 MB, free: 12.86 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 1.206/1.206, allocations: 138.4 MB / 454.7 MB, free: 1.512 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 2.144e-06/2.144e-06, allocations: 0 / 0.5543 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.14e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.006247/0.006279, allocations: 3.594 MB / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007122/0.0134, allocations: 3.623 MB / 0.5613 GB, free: 9.688 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.01383, allocations: 15.88 kB / 0.5613 GB, free: 9.672 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.0005591/0.01439, allocations: 118.8 kB / 0.5615 GB, free: 9.555 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.01591, allocations: 0.5125 MB / 0.562 GB, free: 9.039 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.01682, allocations: 374.9 kB / 0.5623 GB, free: 8.672 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009886/0.01781, allocations: 0.7915 MB / 0.5631 GB, free: 7.879 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.0181, allocations: 138.1 kB / 0.5632 GB, free: 7.742 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007307/0.01883, allocations: 462.9 kB / 0.5637 GB, free: 7.289 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.01933, allocations: 267.2 kB / 0.5639 GB, free: 7.027 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.01946, allocations: 68 kB / 0.564 GB, free: 6.961 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.02063, allocations: 0.5343 MB / 0.5645 GB, free: 6.426 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.0209, allocations: 175.4 kB / 0.5647 GB, free: 6.254 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.02147, allocations: 223.4 kB / 0.5649 GB, free: 6.035 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.02351, allocations: 1.254 MB / 0.5661 GB, free: 4.777 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02352, allocations: 0 / 0.5661 GB, free: 4.777 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02352, allocations: 0 / 0.5661 GB, free: 4.777 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.02353, allocations: 0 / 0.5661 GB, free: 4.777 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.002463/0.02599, allocations: 1.108 MB / 0.5672 GB, free: 3.629 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.02603, allocations: 8.75 kB / 0.5672 GB, free: 3.621 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/0.0293, allocations: 0.4921 MB / 0.5677 GB, free: 3.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.03072, allocations: 0.533 MB / 0.5682 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.03094, allocations: 199.7 kB / 0.5684 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.03105, allocations: 48.38 kB / 0.5684 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.03252, allocations: 0.6996 MB / 0.5691 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.03253, allocations: 0 / 0.5691 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.0326, allocations: 16 kB / 0.5691 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.03262, allocations: 12 kB / 0.5691 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.03411, allocations: 0.5426 MB / 0.5697 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.03805, allocations: 1.638 MB / 0.5713 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.04078, allocations: 0.6208 MB / 0.5719 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.04149, allocations: 237.1 kB / 0.5721 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.04258, allocations: 184.3 kB / 0.5723 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008608/0.04345, allocations: 343.7 kB / 0.5726 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.04345, allocations: 4 kB / 0.5726 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.002294/0.04574, allocations: 0.7427 MB / 0.5733 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.04585, allocations: 111.3 kB / 0.5734 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.04669, allocations: 0.5467 MB / 0.574 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.04675, allocations: 37.7 kB / 0.574 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.04711, allocations: 355.8 kB / 0.5744 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.04734, allocations: 198.4 kB / 0.5745 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.04761, allocations: 139.9 kB / 0.5747 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003833/0.048, allocations: 0.5703 MB / 0.5752 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.04859, allocations: 197.2 kB / 0.5754 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.04943, allocations: 452.9 kB / 0.5759 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.05084, allocations: 0.5908 MB / 0.5764 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.05085, allocations: 0 / 0.5764 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001792/0.05264, allocations: 0.665 MB / 0.5771 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.05266, allocations: 4 kB / 0.5771 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.05268, allocations: 4 kB / 0.5771 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.05271, allocations: 8 kB / 0.5771 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.05448, allocations: 239.9 kB / 0.5773 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.05716, allocations: 2.018 MB / 0.5793 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.05787, allocations: 67.58 kB / 0.5794 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.05795, allocations: 31.97 kB / 0.5794 GB, free: 6.594 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): 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.0004183/0.05836, allocations: 228.4 kB / 0.5796 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.05857, allocations: 75.62 kB / 0.5797 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.06103, allocations: 0.7953 MB / 0.5805 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.06104, allocations: 11.94 kB / 0.5805 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.06105, allocations: 4 kB / 0.5805 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.06106, allocations: 3.984 kB / 0.5805 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.06442, allocations: 1.432 MB / 0.5819 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.06442, allocations: 0 / 0.5819 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006889/0.06511, allocations: 123.8 kB / 0.582 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/0.06594, allocations: 95.59 kB / 0.5821 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.06599, allocations: 15.98 kB / 0.5821 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.06827, allocations: 1.988 MB / 0.584 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.06828, allocations: 0 / 0.584 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.0706, allocations: 0.8625 MB / 0.5849 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.07095, allocations: 131.4 kB / 0.585 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.07104, allocations: 12 kB / 0.585 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.07154, allocations: 31.97 kB / 0.585 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.07167, allocations: 52.56 kB / 0.5851 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.07174, allocations: 23.98 kB / 0.5851 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004783/0.07222, allocations: 351 kB / 0.5855 GB, free: 160 kB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.07222, allocations: 0 / 0.5855 GB, free: 160 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009256/0.07314, allocations: 259.3 kB / 0.5857 GB, free: 15.9 MB / 0.5105 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.003477/0.07662, allocations: 0.6021 MB / 0.5863 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002691/0.07931, allocations: 0.65 MB / 0.5869 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.07931, allocations: 0 / 0.5869 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.08039, allocations: 0.4901 MB / 0.5874 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.08099, allocations: 97.83 kB / 0.5875 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.08342, allocations: 1.12 MB / 0.5886 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.08375, allocations: 274.2 kB / 0.5889 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006082/0.08436, allocations: 136.4 kB / 0.589 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.08462, allocations: 84.44 kB / 0.5891 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/0.08462, allocations: 0 / 0.5891 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.02017/0.1048, allocations: 9.386 MB / 0.5982 GB, free: 3.258 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.756327341077849]