Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001149/0.001149, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.292/1.292, allocations: 222.9 MB / 241.1 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.0021/0.0021, allocations: 280.8 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.9377/0.9377, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 91.86 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3676, allocations: 86.97 MB / 0.767 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.005005/0.3727, allocations: 3.795 MB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004919/0.3776, allocations: 3.446 MB / 0.7741 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.378, allocations: 7.938 kB / 0.7741 GB, free: 12.44 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.000539/0.3785, allocations: 126.9 kB / 0.7742 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.3797, allocations: 473.3 kB / 0.7747 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.3805, allocations: 377.6 kB / 0.775 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008904/0.3814, allocations: 0.7721 MB / 0.7758 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.3817, allocations: 201.9 kB / 0.776 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.3822, allocations: 318.8 kB / 0.7763 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005643/0.3828, allocations: 330.6 kB / 0.7766 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.383, allocations: 68 kB / 0.7767 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009348/0.3839, allocations: 0.4995 MB / 0.7771 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.3841, allocations: 171.4 kB / 0.7773 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.3845, allocations: 334.3 kB / 0.7776 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3857, allocations: 1.105 MB / 0.7787 GB, free: 7.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3858, allocations: 0 / 0.7787 GB, free: 7.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.346e-06/0.3858, allocations: 0 / 0.7787 GB, free: 7.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.3858, allocations: 3.938 kB / 0.7787 GB, free: 7.707 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002171/0.388, allocations: 1.015 MB / 0.7797 GB, free: 6.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.388, allocations: 8.031 kB / 0.7797 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.3916, allocations: 0.6205 MB / 0.7803 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.3931, allocations: 0.6273 MB / 0.7809 GB, free: 5.348 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.3932, allocations: 122.7 kB / 0.781 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.3933, allocations: 51.94 kB / 0.7811 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.395, allocations: 0.7112 MB / 0.7818 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.395, allocations: 7.938 kB / 0.7818 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.3951, allocations: 20 kB / 0.7818 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3951, allocations: 12 kB / 0.7818 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.3972, allocations: 0.7689 MB / 0.7826 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.4006, allocations: 1.923 MB / 0.7845 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.4035, allocations: 0.8659 MB / 0.7853 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4045, allocations: 386.3 kB / 0.7857 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/0.4063, allocations: 1.761 MB / 0.7874 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.4075, allocations: 473.2 kB / 0.7878 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 2.464e-06/0.4075, allocations: 0 / 0.7878 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.006887/0.4144, allocations: 1.659 MB / 0.7895 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.4145, allocations: 119.3 kB / 0.7896 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.4149, allocations: 422.1 kB / 0.79 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.415, allocations: 33.7 kB / 0.79 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.4152, allocations: 276.6 kB / 0.7903 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.4154, allocations: 197.2 kB / 0.7905 GB, free: 11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.4156, allocations: 126.2 kB / 0.7906 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4157, allocations: 362.7 kB / 0.7909 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009358/0.4167, allocations: 317.1 kB / 0.7912 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.4177, allocations: 451.8 kB / 0.7917 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.4197, allocations: 0.7284 MB / 0.7924 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4197, allocations: 0 / 0.7924 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003812/0.4235, allocations: 1.069 MB / 0.7934 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4235, allocations: 12.03 kB / 0.7934 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4235, allocations: 0 / 0.7934 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007304/0.4243, allocations: 144.6 kB / 0.7936 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008388/0.4251, allocations: 167.7 kB / 0.7937 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/0.4301, allocations: 2.102 MB / 0.7958 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.4308, allocations: 103.4 kB / 0.7959 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.4309, allocations: 31.97 kB / 0.7959 GB, free: 5.168 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000293/0.4312, allocations: 216 kB / 0.7961 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.4313, allocations: 55.28 kB / 0.7962 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.4349, allocations: 1.093 MB / 0.7972 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4349, allocations: 7.922 kB / 0.7972 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4349, allocations: 0 / 0.7972 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.4352, allocations: 204.2 kB / 0.7974 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.991e-05/0.4353, allocations: 15.98 kB / 0.7975 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.436, allocations: 67.88 kB / 0.7975 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4361, allocations: 48.58 kB / 0.7976 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003071/0.4392, allocations: 1.025 MB / 0.7986 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00315/0.4423, allocations: 1.449 MB / 0.8 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009071/0.4433, allocations: 397 kB / 0.8004 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000322/0.4436, allocations: 295.1 kB / 0.8006 GB, free: 264 kB / 0.5606 GB Notification: Performance of Backend: time 5.71e-07/0.4436, allocations: 0 / 0.8006 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.4469, allocations: 1.17 MB / 0.8018 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001795/0.4487, allocations: 1.471 MB / 0.8032 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.0193/0.468, allocations: 12.47 MB / 0.8154 GB, free: 1.348 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1)