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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001077, allocations: 110.8 kB / 16.42 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 293.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9131/0.9131, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 95.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3552, allocations: 86.97 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.004804/0.36, allocations: 3.71 MB / 0.7706 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004718/0.3647, allocations: 3.444 MB / 0.774 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.3651, allocations: 11.94 kB / 0.774 GB, free: 12.7 MB / 0.545 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.0004575/0.3656, allocations: 119 kB / 0.7741 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.3667, allocations: 461.5 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.3675, allocations: 366.1 kB / 0.7749 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007695/0.3682, allocations: 0.7605 MB / 0.7757 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.3685, allocations: 205.9 kB / 0.7759 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.3689, allocations: 314.8 kB / 0.7762 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.3694, allocations: 326.6 kB / 0.7765 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3695, allocations: 64 kB / 0.7765 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008155/0.3704, allocations: 0.4995 MB / 0.777 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.3705, allocations: 163.5 kB / 0.7772 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.3708, allocations: 326.3 kB / 0.7775 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.372, allocations: 1.097 MB / 0.7786 GB, free: 8.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.372, allocations: 0 / 0.7786 GB, free: 8.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.153e-06/0.372, allocations: 0 / 0.7786 GB, free: 8.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.372, allocations: 0 / 0.7786 GB, free: 8.035 MB / 0.545 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.00182/0.3738, allocations: 0.9915 MB / 0.7795 GB, free: 6.992 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3739, allocations: 8.031 kB / 0.7795 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.3771, allocations: 0.5659 MB / 0.7801 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.3785, allocations: 0.6235 MB / 0.7807 GB, free: 5.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3786, allocations: 114.7 kB / 0.7808 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/0.3787, allocations: 51.94 kB / 0.7808 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3801, allocations: 0.6635 MB / 0.7815 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3801, allocations: 4 kB / 0.7815 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.3802, allocations: 23.98 kB / 0.7815 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3802, allocations: 12 kB / 0.7815 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.3819, allocations: 0.687 MB / 0.7822 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.3852, allocations: 1.765 MB / 0.7839 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.3879, allocations: 0.8073 MB / 0.7847 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/0.3887, allocations: 325.9 kB / 0.785 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00175/0.3904, allocations: 1.769 MB / 0.7868 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009095/0.3914, allocations: 397.1 kB / 0.7871 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.3914, allocations: 4 kB / 0.7871 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.002458/0.3938, allocations: 0.9239 MB / 0.788 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3939, allocations: 107.2 kB / 0.7881 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.3944, allocations: 423 kB / 0.7885 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.3944, allocations: 37.7 kB / 0.7886 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.3946, allocations: 280.5 kB / 0.7889 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.3948, allocations: 177.5 kB / 0.789 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.395, allocations: 122.1 kB / 0.7891 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3951, allocations: 358.8 kB / 0.7895 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007498/0.3959, allocations: 272.9 kB / 0.7897 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008285/0.3967, allocations: 412.5 kB / 0.7901 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.3983, allocations: 0.6516 MB / 0.7908 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3983, allocations: 0 / 0.7908 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00185/0.4001, allocations: 0.7638 MB / 0.7915 GB, free: 10 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4001, allocations: 8 kB / 0.7915 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4002, allocations: 4 kB / 0.7915 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4002, allocations: 4 kB / 0.7915 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.4018, allocations: 251.9 kB / 0.7918 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.4034, allocations: 1.597 MB / 0.7933 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.4041, allocations: 83.47 kB / 0.7934 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.4041, allocations: 23.98 kB / 0.7934 GB, free: 7.898 MB / 0.5606 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.0002801/0.4044, allocations: 213.9 kB / 0.7936 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4045, allocations: 59.31 kB / 0.7937 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.4071, allocations: 0.9307 MB / 0.7946 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4071, allocations: 7.969 kB / 0.7946 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4071, allocations: 0 / 0.7946 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000269/0.4074, allocations: 204.2 kB / 0.7948 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.4075, allocations: 19.94 kB / 0.7948 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.408, allocations: 51.94 kB / 0.7949 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4082, allocations: 44.5 kB / 0.7949 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002353/0.4105, allocations: 0.8898 MB / 0.7958 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002698/0.4132, allocations: 1.326 MB / 0.7971 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007949/0.414, allocations: 360.2 kB / 0.7974 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003/0.4143, allocations: 295.1 kB / 0.7977 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of Backend: time 2.825e-06/0.4144, allocations: 0 / 0.7977 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003512/0.4179, allocations: 1.071 MB / 0.7987 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001637/0.4195, allocations: 1.428 MB / 0.8001 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of Templates: time 0.01722/0.4368, allocations: 10.87 MB / 0.8108 GB, free: 6.289 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile (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)