Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003718/0.003718, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001625/0.001625, allocations: 246 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6851/0.6851, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 1.188 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.496e-05, allocations: 9.188 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005669/0.005694, allocations: 3.627 MB / 465.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.01208, allocations: 3.702 MB / 469.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005985/0.01267, allocations: 11.88 kB / 469.6 MB, free: 11.35 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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 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 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.0005761/0.01325, allocations: 131.5 kB / 469.7 MB, free: 11.22 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.01492, allocations: 0.515 MB / 470.3 MB, free: 10.7 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009283/0.01585, allocations: 362 kB / 470.6 MB, free: 10.35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.01692, allocations: 0.7884 MB / 471.4 MB, free: 9.562 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.01721, allocations: 128.4 kB / 471.5 MB, free: 9.441 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007879/0.018, allocations: 459.5 kB / 472 MB, free: 8.992 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.0185, allocations: 251.7 kB / 472.2 MB, free: 8.746 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.01862, allocations: 66.03 kB / 472.3 MB, free: 8.684 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.02001, allocations: 0.5459 MB / 472.8 MB, free: 8.137 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.02018, allocations: 171.4 kB / 473 MB, free: 7.969 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.02043, allocations: 215.4 kB / 473.2 MB, free: 7.758 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.02202, allocations: 0.9157 MB / 474.1 MB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.02203, allocations: 0 / 474.1 MB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.02203, allocations: 0 / 474.1 MB, free: 6.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.02204, allocations: 1 kB / 474.1 MB, free: 6.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001791/0.02383, allocations: 0.9395 MB / 475.1 MB, free: 5.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.02388, allocations: 8.75 kB / 475.1 MB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.02572, allocations: 360.2 kB / 475.4 MB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.02641, allocations: 365.9 kB / 475.8 MB, free: 5.152 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.02657, allocations: 195.8 kB / 476 MB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/0.02667, allocations: 48.38 kB / 476 MB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.02792, allocations: 0.5439 MB / 476.6 MB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.02794, allocations: 0 / 476.6 MB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.307e-05/0.028, allocations: 23.98 kB / 476.6 MB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.02802, allocations: 12.81 kB / 476.6 MB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.02864, allocations: 244.7 kB / 476.8 MB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.03124, allocations: 1.012 MB / 477.8 MB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.0324, allocations: 365.2 kB / 478.2 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.0327, allocations: 132.5 kB / 478.3 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/0.03336, allocations: 179.4 kB / 478.5 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.03378, allocations: 243.6 kB / 478.7 MB, free: 2.102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.946e-06/0.03378, allocations: 0.75 kB / 478.7 MB, free: 2.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.003483/0.03726, allocations: 0.9458 MB / 479.7 MB, free: 1.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.03732, allocations: 107.3 kB / 479.8 MB, free: 1.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.03774, allocations: 368.2 kB / 480.2 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.0378, allocations: 37.7 kB / 480.2 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.03796, allocations: 235 kB / 480.4 MB, free: 408 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.03813, allocations: 194.3 kB / 480.6 MB, free: 212 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.03834, allocations: 122.2 kB / 480.7 MB, free: 84 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.03853, allocations: 367.7 kB / 481.1 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.03875, allocations: 76.58 kB / 481.2 MB, free: 15.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.03906, allocations: 271.8 kB / 481.4 MB, free: 15.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.03959, allocations: 330.4 kB / 481.8 MB, free: 14.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.0396, allocations: 4.844 kB / 481.8 MB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001714/0.04131, allocations: 0.5624 MB / 482.3 MB, free: 14.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.04133, allocations: 4 kB / 482.3 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.04135, allocations: 8.703 kB / 482.3 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.04249, allocations: 300.5 kB / 482.6 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.04303, allocations: 135.3 kB / 482.8 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.04574, allocations: 1.551 MB / 484.3 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.04613, allocations: 77.98 kB / 484.4 MB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.04617, allocations: 26.94 kB / 484.4 MB, free: 12.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0002407/0.04641, allocations: 149.4 kB / 484.6 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.04649, allocations: 47.95 kB / 484.6 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.0475, allocations: 0.5856 MB / 485.2 MB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.0475, allocations: 9.125 kB / 485.2 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.04751, allocations: 0 / 485.2 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.04751, allocations: 3.984 kB / 485.2 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.04885, allocations: 0.8864 MB / 486.1 MB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.04885, allocations: 3.984 kB / 486.1 MB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.04915, allocations: 120 kB / 486.2 MB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/0.04965, allocations: 186 kB / 486.4 MB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.04969, allocations: 19.98 kB / 486.4 MB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.0509, allocations: 1.466 MB / 487.9 MB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.0509, allocations: 0.6875 kB / 487.9 MB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.05169, allocations: 0.544 MB / 488.4 MB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.05186, allocations: 99.44 kB / 488.5 MB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.05192, allocations: 12 kB / 488.5 MB, free: 8.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.05213, allocations: 34.05 kB / 488.6 MB, free: 8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.05222, allocations: 57.72 kB / 488.6 MB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.05226, allocations: 15.98 kB / 488.6 MB, free: 7.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.05239, allocations: 160.7 kB / 488.8 MB, free: 7.766 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05239, allocations: 0.5938 kB / 488.8 MB, free: 7.766 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006227/0.05302, allocations: 263.3 kB / 489.1 MB, free: 7.508 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/0.05447, allocations: 0.6998 MB / 489.8 MB, free: 7.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000658/0.05513, allocations: 463.9 kB / 490.2 MB, free: 6.684 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.05513, allocations: 4 kB / 490.2 MB, free: 6.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.05544, allocations: 327 kB / 490.5 MB, free: 6.348 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.05574, allocations: 92.97 kB / 490.6 MB, free: 6.262 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.05745, allocations: 1.007 MB / 491.6 MB, free: 5.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.712e-05/0.05753, allocations: 142.9 kB / 491.8 MB, free: 5.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003562/0.05789, allocations: 126 kB / 491.9 MB, free: 4.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.05819, allocations: 163.3 kB / 492.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of SimCode: time 9.41e-07/0.05819, allocations: 0 / 492.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of Templates: time 0.01476/0.07294, allocations: 12.73 MB / 0.493 GB, free: 8.359 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.009073682129383]