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.001258/0.001258, allocations: 110.7 kB / 16.42 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.001005/0.001005, 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 282.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9141/0.9141, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 103.8 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.358, allocations: 86.97 MB / 0.767 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.004675/0.3627, allocations: 3.794 MB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.367, allocations: 3.454 MB / 0.7741 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.3672, allocations: 15.88 kB / 0.7741 GB, free: 12.42 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.0003941/0.3676, allocations: 122.9 kB / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008817/0.3685, allocations: 465.4 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.3692, allocations: 366.7 kB / 0.775 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006648/0.3698, allocations: 0.7682 MB / 0.7758 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.3701, allocations: 193.9 kB / 0.776 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.3705, allocations: 322.8 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3709, allocations: 330.6 kB / 0.7766 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.371, allocations: 68 kB / 0.7766 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.3718, allocations: 0.5073 MB / 0.7771 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3719, allocations: 167.4 kB / 0.7773 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.3722, allocations: 330.3 kB / 0.7776 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.3733, allocations: 1.108 MB / 0.7787 GB, free: 7.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3733, allocations: 3.938 kB / 0.7787 GB, free: 7.707 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3733, allocations: 0 / 0.7787 GB, free: 7.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.3733, allocations: 3.938 kB / 0.7787 GB, free: 7.703 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.001786/0.3751, allocations: 1.015 MB / 0.7797 GB, free: 6.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3751, allocations: 12.03 kB / 0.7797 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/0.3788, allocations: 0.6205 MB / 0.7803 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.3801, allocations: 0.6312 MB / 0.7809 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3802, allocations: 118.7 kB / 0.781 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.562e-05/0.3803, allocations: 55.92 kB / 0.7811 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.382, allocations: 0.7151 MB / 0.7818 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.382, allocations: 0 / 0.7818 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.3821, allocations: 23.94 kB / 0.7818 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3821, allocations: 12 kB / 0.7818 GB, free: 4.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.3842, allocations: 0.7728 MB / 0.7826 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.3874, allocations: 1.911 MB / 0.7844 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.3903, allocations: 0.8659 MB / 0.7853 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009763/0.3913, allocations: 378.3 kB / 0.7857 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/0.3931, allocations: 1.769 MB / 0.7874 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.3942, allocations: 466.8 kB / 0.7878 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 3.527e-06/0.3942, allocations: 3.984 kB / 0.7878 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.006954/0.4012, allocations: 1.663 MB / 0.7895 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.4013, allocations: 111.4 kB / 0.7896 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.4017, allocations: 426.1 kB / 0.79 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.4018, allocations: 37.7 kB / 0.79 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.402, allocations: 272.6 kB / 0.7903 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.4021, allocations: 189.2 kB / 0.7904 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.4023, allocations: 126.2 kB / 0.7906 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4025, allocations: 370.7 kB / 0.7909 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009317/0.4034, allocations: 317.1 kB / 0.7912 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4045, allocations: 447.8 kB / 0.7916 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.4064, allocations: 0.7323 MB / 0.7924 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4064, allocations: 0 / 0.7924 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003786/0.4102, allocations: 1.069 MB / 0.7934 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4102, allocations: 4 kB / 0.7934 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4102, allocations: 4 kB / 0.7934 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/0.411, allocations: 144.6 kB / 0.7936 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/0.4118, allocations: 163.9 kB / 0.7937 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004815/0.4166, allocations: 2.11 MB / 0.7958 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/0.4174, allocations: 103.4 kB / 0.7959 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-05/0.4175, allocations: 27.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.0002746/0.4177, allocations: 212 kB / 0.7961 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.4179, allocations: 55.34 kB / 0.7962 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.4214, allocations: 1.093 MB / 0.7972 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4214, allocations: 11.92 kB / 0.7972 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4214, allocations: 0 / 0.7972 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.4217, allocations: 208.2 kB / 0.7974 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.4218, allocations: 16 kB / 0.7974 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/0.4224, allocations: 71.89 kB / 0.7975 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.4225, allocations: 44.58 kB / 0.7976 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003102/0.4256, allocations: 1.025 MB / 0.7986 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00309/0.4287, allocations: 1.438 MB / 0.8 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009164/0.4297, allocations: 405 kB / 0.8003 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002907/0.43, allocations: 291.1 kB / 0.8006 GB, free: 268 kB / 0.5606 GB Notification: Performance of Backend: time 6.81e-07/0.43, allocations: 0 / 0.8006 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003057/0.433, allocations: 1.171 MB / 0.8018 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00158/0.4346, allocations: 1.475 MB / 0.8032 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.01832/0.453, allocations: 12.48 MB / 0.8154 GB, free: 1.344 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)