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.001098/0.001098, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001006/0.001006, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002191/0.002191, allocations: 290 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.913/0.913, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 95.84 kB / 0.6821 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.348, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.004669/0.3527, allocations: 3.706 MB / 0.7706 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004298/0.357, allocations: 3.431 MB / 0.774 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.3572, allocations: 11.94 kB / 0.774 GB, free: 12.75 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.0004058/0.3576, allocations: 130.9 kB / 0.7741 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008749/0.3585, allocations: 449.5 kB / 0.7746 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.3591, allocations: 361.3 kB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006641/0.3598, allocations: 0.7605 MB / 0.7756 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.3601, allocations: 205.8 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.3604, allocations: 310.9 kB / 0.7761 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.3608, allocations: 330.7 kB / 0.7765 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3609, allocations: 64 kB / 0.7765 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007307/0.3617, allocations: 0.4994 MB / 0.777 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.3618, allocations: 171.4 kB / 0.7772 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.3621, allocations: 318.4 kB / 0.7775 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.3631, allocations: 1.093 MB / 0.7785 GB, free: 8.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3632, allocations: 0 / 0.7785 GB, free: 8.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3632, allocations: 0 / 0.7785 GB, free: 8.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3632, allocations: 4 kB / 0.7785 GB, free: 8.09 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.001799/0.365, allocations: 0.9954 MB / 0.7795 GB, free: 7.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.365, allocations: 8.031 kB / 0.7795 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/0.3683, allocations: 0.5659 MB / 0.7801 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3696, allocations: 0.6235 MB / 0.7807 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.3697, allocations: 122.7 kB / 0.7808 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.3698, allocations: 47.94 kB / 0.7808 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.3711, allocations: 0.6713 MB / 0.7815 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3712, allocations: 0 / 0.7815 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.3712, allocations: 16 kB / 0.7815 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3713, allocations: 12 kB / 0.7815 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.373, allocations: 0.6908 MB / 0.7822 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.3761, allocations: 1.769 MB / 0.7839 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.3787, allocations: 0.8034 MB / 0.7847 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007911/0.3795, allocations: 329.9 kB / 0.785 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/0.3813, allocations: 1.769 MB / 0.7868 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008811/0.3822, allocations: 393.1 kB / 0.7871 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.3822, allocations: 4 kB / 0.7871 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.00241/0.3846, allocations: 0.9122 MB / 0.788 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.3847, allocations: 115.2 kB / 0.7881 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.3851, allocations: 431 kB / 0.7885 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.3852, allocations: 33.7 kB / 0.7886 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3854, allocations: 276.5 kB / 0.7888 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.3855, allocations: 177.5 kB / 0.789 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.3857, allocations: 114.1 kB / 0.7891 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3859, allocations: 366.7 kB / 0.7895 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007296/0.3866, allocations: 272.9 kB / 0.7897 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.3874, allocations: 412.6 kB / 0.7901 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.389, allocations: 0.6554 MB / 0.7908 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.389, allocations: 0 / 0.7908 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001829/0.3908, allocations: 0.7599 MB / 0.7915 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3909, allocations: 8 kB / 0.7915 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3909, allocations: 7.984 kB / 0.7915 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3909, allocations: 8 kB / 0.7915 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.3925, allocations: 243.9 kB / 0.7918 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.3941, allocations: 1.597 MB / 0.7933 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.3948, allocations: 87.56 kB / 0.7934 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.3948, allocations: 23.98 kB / 0.7934 GB, free: 7.945 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.0002567/0.3951, allocations: 208.6 kB / 0.7936 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3952, allocations: 55.28 kB / 0.7937 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.3977, allocations: 0.9307 MB / 0.7946 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3978, allocations: 7.984 kB / 0.7946 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3978, allocations: 0 / 0.7946 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/0.398, allocations: 208.1 kB / 0.7948 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.3981, allocations: 15.94 kB / 0.7948 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.3987, allocations: 55.92 kB / 0.7949 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3988, allocations: 44.5 kB / 0.7949 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002356/0.4012, allocations: 0.8859 MB / 0.7958 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002724/0.4039, allocations: 1.33 MB / 0.7971 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007862/0.4047, allocations: 360.2 kB / 0.7974 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002978/0.405, allocations: 295.1 kB / 0.7977 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/0.405, allocations: 4 kB / 0.7977 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.4085, allocations: 1.078 MB / 0.7987 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001617/0.4102, allocations: 1.419 MB / 0.8001 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.01719/0.4274, allocations: 10.88 MB / 0.8108 GB, free: 6.332 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)