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.001507/0.001507, allocations: 113.5 kB / 16.42 MB, free: 6.449 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.001699/0.0017, allocations: 185.7 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.274/1.274, allocations: 222.9 MB / 241.1 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.002094/0.002094, allocations: 289.4 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.9117/0.9117, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.366, allocations: 86.98 MB / 0.767 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.004752/0.3708, allocations: 3.745 MB / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.3753, allocations: 3.434 MB / 0.774 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.3755, allocations: 7.938 kB / 0.774 GB, free: 12.59 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.0004202/0.376, allocations: 122.9 kB / 0.7742 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009344/0.3769, allocations: 461.5 kB / 0.7746 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.3776, allocations: 358.1 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.3783, allocations: 0.7448 MB / 0.7757 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.3785, allocations: 201.9 kB / 0.7759 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.3789, allocations: 306.9 kB / 0.7761 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004129/0.3793, allocations: 326.6 kB / 0.7765 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3794, allocations: 68 kB / 0.7765 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.3802, allocations: 0.4917 MB / 0.777 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.3804, allocations: 171.4 kB / 0.7772 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.3806, allocations: 326.3 kB / 0.7775 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.3817, allocations: 1.085 MB / 0.7785 GB, free: 7.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3818, allocations: 0 / 0.7785 GB, free: 7.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3818, allocations: 0 / 0.7785 GB, free: 7.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3818, allocations: 0 / 0.7785 GB, free: 7.965 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.001765/0.3835, allocations: 0.9875 MB / 0.7795 GB, free: 6.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3836, allocations: 8.031 kB / 0.7795 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.3873, allocations: 0.6244 MB / 0.7801 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.3886, allocations: 0.6351 MB / 0.7807 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.3888, allocations: 118.7 kB / 0.7809 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.3889, allocations: 51.94 kB / 0.7809 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3904, allocations: 0.6987 MB / 0.7816 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3905, allocations: 0 / 0.7816 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.3905, allocations: 19.98 kB / 0.7816 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3905, allocations: 12 kB / 0.7816 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.3926, allocations: 0.7533 MB / 0.7824 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.396, allocations: 1.809 MB / 0.7841 GB, free: 2.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.3989, allocations: 0.8362 MB / 0.7849 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009642/0.3999, allocations: 357.9 kB / 0.7853 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.4017, allocations: 1.765 MB / 0.787 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.4028, allocations: 433.1 kB / 0.7874 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=53): time 3.376e-06/0.4028, allocations: 0 / 0.7874 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=53): time 0.002939/0.4057, allocations: 1.01 MB / 0.7884 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.4058, allocations: 107.2 kB / 0.7885 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.4063, allocations: 431.1 kB / 0.7889 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.4063, allocations: 41.64 kB / 0.789 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.4065, allocations: 276.6 kB / 0.7892 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.4067, allocations: 185.4 kB / 0.7894 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.4069, allocations: 122.1 kB / 0.7895 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.407, allocations: 358.8 kB / 0.7899 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009115/0.408, allocations: 300.9 kB / 0.7901 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.409, allocations: 436.5 kB / 0.7906 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.4108, allocations: 0.7062 MB / 0.7912 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4109, allocations: 0 / 0.7912 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002194/0.4131, allocations: 0.8222 MB / 0.792 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4131, allocations: 4 kB / 0.7921 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4131, allocations: 7.938 kB / 0.7921 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4131, allocations: 8 kB / 0.7921 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/0.4141, allocations: 175.9 kB / 0.7922 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4141, allocations: 4 kB / 0.7922 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/0.4148, allocations: 110 kB / 0.7923 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.4149, allocations: 31.98 kB / 0.7924 GB, free: 9.035 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.000283/0.4152, allocations: 209.6 kB / 0.7926 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4153, allocations: 47.44 kB / 0.7926 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.4176, allocations: 0.8948 MB / 0.7935 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.4176, allocations: 3.984 kB / 0.7935 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4176, allocations: 0 / 0.7935 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.4179, allocations: 216.1 kB / 0.7937 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.418, allocations: 16 kB / 0.7937 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.4187, allocations: 55.92 kB / 0.7938 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.4188, allocations: 36.52 kB / 0.7938 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002391/0.4212, allocations: 0.8696 MB / 0.7947 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001999/0.4232, allocations: 0.9393 MB / 0.7956 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008705/0.424, allocations: 360.2 kB / 0.7959 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003101/0.4244, allocations: 303.1 kB / 0.7962 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of Backend: time 2.81e-07/0.4244, allocations: 0 / 0.7962 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002843/0.4272, allocations: 1.027 MB / 0.7972 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001599/0.4288, allocations: 1.404 MB / 0.7986 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of Templates: time 0.01675/0.4456, allocations: 11.12 MB / 0.8094 GB, free: 7.711 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)