Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001065/0.001066, allocations: 185.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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 286.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9175/0.9175, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 99.84 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3791, allocations: 86.98 MB / 0.767 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.004825/0.384, allocations: 3.749 MB / 0.7707 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00443/0.3884, allocations: 3.423 MB / 0.774 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.3886, allocations: 15.94 kB / 0.774 GB, free: 12.87 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.0004167/0.3891, allocations: 122.9 kB / 0.7742 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008915/0.39, allocations: 449.5 kB / 0.7746 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.3906, allocations: 361.9 kB / 0.7749 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006915/0.3913, allocations: 0.7526 MB / 0.7757 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.3916, allocations: 193.9 kB / 0.7759 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.3919, allocations: 314.8 kB / 0.7762 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.3924, allocations: 322.6 kB / 0.7765 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.967e-05/0.3925, allocations: 64 kB / 0.7765 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007525/0.3932, allocations: 0.4917 MB / 0.777 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3934, allocations: 171.4 kB / 0.7772 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.3937, allocations: 326.3 kB / 0.7775 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.3947, allocations: 1.093 MB / 0.7785 GB, free: 8.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3948, allocations: 0 / 0.7785 GB, free: 8.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3948, allocations: 4 kB / 0.7785 GB, free: 8.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.3948, allocations: 0 / 0.7785 GB, free: 8.246 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.001744/0.3965, allocations: 0.9797 MB / 0.7795 GB, free: 7.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.3966, allocations: 8.031 kB / 0.7795 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.4002, allocations: 0.6244 MB / 0.7801 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.4015, allocations: 0.6312 MB / 0.7807 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4017, allocations: 114.7 kB / 0.7808 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.4018, allocations: 51.94 kB / 0.7809 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.4033, allocations: 0.6947 MB / 0.7816 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4034, allocations: 0 / 0.7816 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.4034, allocations: 23.98 kB / 0.7816 GB, free: 5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4035, allocations: 12 kB / 0.7816 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.4055, allocations: 0.7572 MB / 0.7823 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.4088, allocations: 1.805 MB / 0.7841 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.4117, allocations: 0.8401 MB / 0.7849 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/0.4126, allocations: 357.9 kB / 0.7853 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/0.4144, allocations: 1.769 MB / 0.787 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.4155, allocations: 433.1 kB / 0.7874 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 2.284e-06/0.4155, allocations: 0 / 0.7874 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.002907/0.4184, allocations: 1.006 MB / 0.7884 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4185, allocations: 111.2 kB / 0.7885 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.4189, allocations: 435.1 kB / 0.7889 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.419, allocations: 37.7 kB / 0.789 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.4192, allocations: 276.6 kB / 0.7892 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.4194, allocations: 181.4 kB / 0.7894 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.4196, allocations: 122.1 kB / 0.7895 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4197, allocations: 358.8 kB / 0.7898 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008882/0.4206, allocations: 300.9 kB / 0.7901 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000968/0.4216, allocations: 439 kB / 0.7906 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.4234, allocations: 0.7061 MB / 0.7912 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.4234, allocations: 0 / 0.7912 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00212/0.4256, allocations: 0.8183 MB / 0.792 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4256, allocations: 8.219 kB / 0.792 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4256, allocations: 8 kB / 0.7921 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4256, allocations: 8 kB / 0.7921 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/0.4265, allocations: 175.7 kB / 0.7922 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4265, allocations: 8 kB / 0.7922 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/0.4272, allocations: 99.31 kB / 0.7923 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.4273, allocations: 31.97 kB / 0.7924 GB, free: 9.332 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): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002584/0.4276, allocations: 208.6 kB / 0.7926 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.4277, allocations: 51.42 kB / 0.7926 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.4299, allocations: 0.8871 MB / 0.7935 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.4299, allocations: 3.984 kB / 0.7935 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4299, allocations: 0 / 0.7935 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.4302, allocations: 216.1 kB / 0.7937 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.4303, allocations: 12 kB / 0.7937 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.4309, allocations: 67.92 kB / 0.7938 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.431, allocations: 40.5 kB / 0.7938 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002339/0.4334, allocations: 0.8734 MB / 0.7947 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001954/0.4353, allocations: 0.9393 MB / 0.7956 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008397/0.4362, allocations: 356.2 kB / 0.7959 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000306/0.4365, allocations: 299.1 kB / 0.7962 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.4365, allocations: 0 / 0.7962 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.4393, allocations: 1.025 MB / 0.7972 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001573/0.4409, allocations: 1.411 MB / 0.7986 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of Templates: time 0.01698/0.4579, allocations: 11.1 MB / 0.8094 GB, free: 8.004 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1)