Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.001037/0.001037, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001562/0.001562, allocations: 181 kB / 23.36 MB, free: 1.133 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03214/0.03214, allocations: 4.23 MB / 264.5 MB, free: 8.809 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/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(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 3.938 kB / 286.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.117e-05, allocations: 6.25 kB / 286.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.1233/0.1233, allocations: 3.296 MB / 289.7 MB, free: 22.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.125, allocations: 1.247 MB / 290.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1251, allocations: 4.094 kB / 290.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.1255, allocations: 207.3 kB / 291.1 MB, free: 22.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.1258, allocations: 168.7 kB / 291.3 MB, free: 22.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.126, allocations: 110.9 kB / 291.4 MB, free: 22.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.1264, allocations: 0.5433 MB / 291.9 MB, free: 22.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1265, allocations: 85.42 kB / 292 MB, free: 22.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.1268, allocations: 308.6 kB / 292.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.127, allocations: 171.1 kB / 292.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.1271, allocations: 42.78 kB / 292.5 MB, free: 22.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1272, allocations: 62.97 kB / 292.6 MB, free: 22.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.1273, allocations: 94.47 kB / 292.7 MB, free: 22.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1274, allocations: 133.2 kB / 292.8 MB, free: 22.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1277, allocations: 311.2 kB / 293.1 MB, free: 22.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1277, allocations: 5.812 kB / 293.1 MB, free: 22.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1277, allocations: 0 / 293.1 MB, free: 22.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1277, allocations: 1.219 kB / 293.1 MB, free: 22.21 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008287/0.1286, allocations: 0.6048 MB / 293.7 MB, free: 21.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1286, allocations: 9.094 kB / 293.7 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.1287, allocations: 45.67 kB / 293.8 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1291, allocations: 276.6 kB / 294 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1291, allocations: 15.72 kB / 294.1 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1291, allocations: 22.81 kB / 294.1 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.1294, allocations: 222.2 kB / 294.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1294, allocations: 0 / 294.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1294, allocations: 11.45 kB / 294.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1294, allocations: 5.781 kB / 294.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1295, allocations: 72.52 kB / 294.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1306, allocations: 0.8591 MB / 295.2 MB, free: 20.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1307, allocations: 71.72 kB / 295.3 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.1308, allocations: 45.41 kB / 295.4 MB, free: 20.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1308, allocations: 5.625 kB / 295.4 MB, free: 20.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1308, allocations: 34.48 kB / 295.4 MB, free: 20.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.1308, allocations: 0.5156 kB / 295.4 MB, free: 20.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001941/0.131, allocations: 93.84 kB / 295.5 MB, free: 20.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.131, allocations: 52.5 kB / 295.5 MB, free: 20.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.1313, allocations: 320 kB / 295.9 MB, free: 20.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1313, allocations: 26.92 kB / 295.9 MB, free: 20.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.1314, allocations: 197.7 kB / 296.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1314, allocations: 26.88 kB / 296.1 MB, free: 20.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.1314, allocations: 52.64 kB / 296.2 MB, free: 20.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.1315, allocations: 342.7 kB / 296.5 MB, free: 20 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.1316, allocations: 27.2 kB / 296.5 MB, free: 20 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.1316, allocations: 64.11 kB / 296.6 MB, free: 19.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1318, allocations: 95.45 kB / 296.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1318, allocations: 0 / 296.7 MB, free: 19.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003902/0.1321, allocations: 196.3 kB / 296.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1322, allocations: 7 kB / 296.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1322, allocations: 2.25 kB / 296.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.1324, allocations: 72.92 kB / 296.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1326, allocations: 55.84 kB / 297 MB, free: 19.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006975/0.1333, allocations: 1.339 MB / 298.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.1334, allocations: 30.81 kB / 298.4 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1334, allocations: 9.328 kB / 298.4 MB, free: 18.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.1335, allocations: 121.9 kB / 298.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.1335, allocations: 17.12 kB / 298.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.1336, allocations: 31.69 kB / 298.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1336, allocations: 1.062 kB / 298.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1336, allocations: 1.5 kB / 298.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1336, allocations: 0.5156 kB / 298.5 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.1339, allocations: 324.1 kB / 298.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1339, allocations: 1.406 kB / 298.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.134, allocations: 25.2 kB / 298.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.134, allocations: 1.766 kB / 298.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.134, allocations: 2.141 kB / 298.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.134, allocations: 2.234 kB / 298.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.134, allocations: 3.938 kB / 298.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.1341, allocations: 179.5 kB / 299.1 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.1342, allocations: 32.34 kB / 299.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.1342, allocations: 1.25 kB / 299.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.1343, allocations: 9.797 kB / 299.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.1343, allocations: 21.98 kB / 299.1 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1343, allocations: 2.516 kB / 299.1 MB, free: 18.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1344, allocations: 131.7 kB / 299.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1344, allocations: 0 / 299.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002301/0.1347, allocations: 79.47 kB / 299.3 MB, free: 17.95 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000102/0.1348, allocations: 81.97 kB / 299.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1351, allocations: 247.1 kB / 299.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.1351, allocations: 3.156 kB / 299.7 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.1351, allocations: 29.02 kB / 299.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1354, allocations: 67.09 kB / 299.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.1362, allocations: 499.8 kB / 300.2 MB, free: 17.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.1362, allocations: 89.2 kB / 300.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1363, allocations: 36.72 kB / 300.4 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.1365, allocations: 105 kB / 300.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1365, allocations: 4 kB / 300.5 MB, free: 17.24 MB / 266.7 MB Notification: Performance of Templates: time 0.006147/0.1426, allocations: 4.135 MB / 304.6 MB, free: 15.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.821098465938121]