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.0009263/0.0009263, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001027/0.001027, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9521/0.9521, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.00175/0.00175, allocations: 226 kB / 261.3 MB, free: 12.67 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.7173/0.7173, allocations: 138.4 MB / 456.3 MB, free: 1.438 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.292e-06/1.292e-06, allocations: 0 / 0.5563 GB, free: 328 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.389e-05, allocations: 6.312 kB / 0.5563 GB, free: 320 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003585/0.003599, allocations: 3.582 MB / 0.5598 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.00698, allocations: 3.646 MB / 0.5634 GB, free: 9.043 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.007158, allocations: 15.88 kB / 0.5634 GB, free: 9.027 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.0003361/0.007494, allocations: 118.9 kB / 0.5635 GB, free: 8.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007549/0.008249, allocations: 0.5126 MB / 0.564 GB, free: 8.395 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.008692, allocations: 378.9 kB / 0.5644 GB, free: 8.023 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.009205, allocations: 0.7915 MB / 0.5652 GB, free: 7.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.009382, allocations: 126.4 kB / 0.5653 GB, free: 7.105 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.009781, allocations: 462.9 kB / 0.5657 GB, free: 6.652 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.01007, allocations: 267.2 kB / 0.566 GB, free: 6.391 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.01014, allocations: 64 kB / 0.566 GB, free: 6.328 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.01068, allocations: 0.5421 MB / 0.5666 GB, free: 5.785 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.0108, allocations: 175.4 kB / 0.5667 GB, free: 5.613 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.01095, allocations: 211.5 kB / 0.5669 GB, free: 5.406 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008022/0.01176, allocations: 0.9304 MB / 0.5678 GB, free: 4.473 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01176, allocations: 0 / 0.5678 GB, free: 4.473 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01176, allocations: 0 / 0.5678 GB, free: 4.473 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.01176, allocations: 0 / 0.5678 GB, free: 4.473 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.001162/0.01293, allocations: 1.068 MB / 0.5689 GB, free: 3.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.01296, allocations: 12.75 kB / 0.5689 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.01413, allocations: 348.1 kB / 0.5692 GB, free: 3.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.01456, allocations: 445 kB / 0.5696 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.01466, allocations: 195.8 kB / 0.5698 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.01472, allocations: 40.38 kB / 0.5699 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.0153, allocations: 0.523 MB / 0.5704 GB, free: 1.727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01532, allocations: 3.984 kB / 0.5704 GB, free: 1.723 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.01536, allocations: 20 kB / 0.5704 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01537, allocations: 12 kB / 0.5704 GB, free: 1.691 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.01573, allocations: 274.7 kB / 0.5707 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.01751, allocations: 1.325 MB / 0.572 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/0.01835, allocations: 393.9 kB / 0.5723 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.01855, allocations: 141 kB / 0.5725 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/0.01903, allocations: 184.3 kB / 0.5727 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.01932, allocations: 231.7 kB / 0.5729 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 1.723e-06/0.01932, allocations: 0 / 0.5729 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0008033/0.02012, allocations: 468.5 kB / 0.5733 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.02018, allocations: 115.3 kB / 0.5734 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.02053, allocations: 431.7 kB / 0.5738 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.02058, allocations: 37.7 kB / 0.5739 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.02079, allocations: 339.7 kB / 0.5742 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.02094, allocations: 186.4 kB / 0.5744 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.02113, allocations: 127.8 kB / 0.5745 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.0213, allocations: 0.5351 MB / 0.575 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.02149, allocations: 89.22 kB / 0.5751 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.0218, allocations: 313.2 kB / 0.5754 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.02233, allocations: 381.3 kB / 0.5758 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.02233, allocations: 0 / 0.5758 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007661/0.0231, allocations: 453.1 kB / 0.5762 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.02312, allocations: 8 kB / 0.5762 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.02313, allocations: 4 kB / 0.5762 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.02314, allocations: 4 kB / 0.5762 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.0259, allocations: 0.5345 MB / 0.5767 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.02735, allocations: 1.968 MB / 0.5787 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.02768, allocations: 75.58 kB / 0.5787 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.02773, allocations: 28.09 kB / 0.5788 GB, free: 8.73 MB / 0.4948 GB 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.0001872/0.02792, allocations: 196 kB / 0.579 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.02804, allocations: 71.62 kB / 0.579 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.02937, allocations: 0.6117 MB / 0.5796 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.02938, allocations: 4 kB / 0.5796 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.02938, allocations: 7.938 kB / 0.5796 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.02939, allocations: 3.984 kB / 0.5796 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.03113, allocations: 1.065 MB / 0.5807 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03113, allocations: 4 kB / 0.5807 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.03156, allocations: 123.9 kB / 0.5808 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/0.03227, allocations: 131.5 kB / 0.5809 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.03232, allocations: 27.98 kB / 0.581 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.03364, allocations: 1.918 MB / 0.5828 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.03364, allocations: 3.938 kB / 0.5828 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.03478, allocations: 0.6593 MB / 0.5835 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.03499, allocations: 139.4 kB / 0.5836 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.03506, allocations: 12 kB / 0.5836 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.03535, allocations: 27.98 kB / 0.5836 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.03544, allocations: 52.55 kB / 0.5837 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.03549, allocations: 23.97 kB / 0.5837 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001892/0.03568, allocations: 267 kB / 0.584 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.03568, allocations: 4 kB / 0.584 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006706/0.03635, allocations: 255.3 kB / 0.5842 GB, free: 2.934 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): 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.001259/0.03761, allocations: 0.5852 MB / 0.5848 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.03992, allocations: 0.6066 MB / 0.5854 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.03992, allocations: 0 / 0.5854 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.04045, allocations: 393.5 kB / 0.5858 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.04088, allocations: 93.12 kB / 0.5858 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.04247, allocations: 0.9952 MB / 0.5868 GB, free: 372 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.04257, allocations: 136.8 kB / 0.5869 GB, free: 216 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004207/0.04299, allocations: 124.3 kB / 0.5871 GB, free: 88 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.04337, allocations: 194.1 kB / 0.5873 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.04338, allocations: 0 / 0.5873 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.01557/0.05894, allocations: 10.96 MB / 0.598 GB, free: 5.031 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: 4.387789655011147]