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.001161/0.001161, allocations: 80.88 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.001145/0.001145, 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 0.9417/0.9417, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.02836/0.02836, allocations: 4.234 MB / 264.5 MB, free: 8.82 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.472e-06/1.472e-06, allocations: 0 / 286.3 MB, free: 3.004 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.526e-05, allocations: 2.312 kB / 286.3 MB, free: 3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.1252/0.1252, allocations: 3.253 MB / 289.6 MB, free: 23.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.1279, allocations: 1.241 MB / 290.8 MB, free: 23.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.1281, allocations: 8.438 kB / 290.8 MB, free: 23.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.1287, allocations: 214 kB / 291 MB, free: 23.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.1292, allocations: 161 kB / 291.2 MB, free: 23.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1295, allocations: 115.6 kB / 291.3 MB, free: 23.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006154/0.1301, allocations: 0.5416 MB / 291.8 MB, free: 23.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.1304, allocations: 87.64 kB / 291.9 MB, free: 23.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.1308, allocations: 315.1 kB / 292.2 MB, free: 23.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1311, allocations: 164.3 kB / 292.4 MB, free: 22.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.1312, allocations: 42.28 kB / 292.4 MB, free: 22.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1313, allocations: 63.09 kB / 292.5 MB, free: 22.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1314, allocations: 91.16 kB / 292.6 MB, free: 22.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1315, allocations: 137.6 kB / 292.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.132, allocations: 315.5 kB / 293 MB, free: 22.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.132, allocations: 0 / 293 MB, free: 22.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.132, allocations: 0.5625 kB / 293 MB, free: 22.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.132, allocations: 1.906 kB / 293 MB, free: 22.7 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.0009577/0.133, allocations: 0.6051 MB / 293.6 MB, free: 22.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.133, allocations: 10.03 kB / 293.6 MB, free: 22.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.1331, allocations: 39.45 kB / 293.7 MB, free: 22.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.1335, allocations: 275.2 kB / 293.9 MB, free: 22.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1335, allocations: 19.06 kB / 294 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1336, allocations: 18.47 kB / 294 MB, free: 22.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.1339, allocations: 225 kB / 294.2 MB, free: 21.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1339, allocations: 0 / 294.2 MB, free: 21.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1339, allocations: 12.2 kB / 294.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1339, allocations: 9.609 kB / 294.2 MB, free: 21.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1341, allocations: 73.48 kB / 294.3 MB, free: 21.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1351, allocations: 0.8582 MB / 295.1 MB, free: 21.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1352, allocations: 69.86 kB / 295.2 MB, free: 21.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.1353, allocations: 49.55 kB / 295.3 MB, free: 21.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1354, allocations: 6.344 kB / 295.3 MB, free: 21.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.1354, allocations: 32.55 kB / 295.3 MB, free: 21.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.1354, allocations: 0 / 295.3 MB, free: 21.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002004/0.1356, allocations: 84.81 kB / 295.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1356, allocations: 53.27 kB / 295.4 MB, free: 21.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.1358, allocations: 322 kB / 295.8 MB, free: 20.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1359, allocations: 27.53 kB / 295.8 MB, free: 20.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.1359, allocations: 194.4 kB / 296 MB, free: 20.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.136, allocations: 21.42 kB / 296 MB, free: 20.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/0.136, allocations: 57.64 kB / 296 MB, free: 20.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.1361, allocations: 339.3 kB / 296.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.1361, allocations: 28.92 kB / 296.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.1362, allocations: 62.44 kB / 296.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1363, allocations: 99.7 kB / 296.6 MB, free: 20.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1363, allocations: 5.406 kB / 296.6 MB, free: 20.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003825/0.1367, allocations: 200.3 kB / 296.8 MB, free: 20.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1367, allocations: 6.625 kB / 296.8 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1367, allocations: 3.219 kB / 296.8 MB, free: 20.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.137, allocations: 71.5 kB / 296.8 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1371, allocations: 49.28 kB / 296.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007375/0.1378, allocations: 1.344 MB / 298.2 MB, free: 18.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.138, allocations: 26.83 kB / 298.3 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.138, allocations: 9.359 kB / 298.3 MB, free: 18.95 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 7.197e-05/0.1381, allocations: 121.7 kB / 298.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.1381, allocations: 19.22 kB / 298.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.1381, allocations: 31.38 kB / 298.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1382, allocations: 1.094 kB / 298.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1382, allocations: 0 / 298.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1382, allocations: 2.062 kB / 298.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.1385, allocations: 321.9 kB / 298.8 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1385, allocations: 1.25 kB / 298.8 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.1386, allocations: 20.17 kB / 298.8 MB, free: 18.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1386, allocations: 5.891 kB / 298.8 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1386, allocations: 0.7969 kB / 298.8 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1386, allocations: 1.938 kB / 298.8 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1386, allocations: 8.5 kB / 298.8 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.1387, allocations: 174.8 kB / 299 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.1388, allocations: 31.88 kB / 299 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1388, allocations: 5.828 kB / 299 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.1389, allocations: 10.38 kB / 299 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1389, allocations: 10.5 kB / 299 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1389, allocations: 2.594 kB / 299 MB, free: 18.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1391, allocations: 135.9 kB / 299.2 MB, free: 18.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1391, allocations: 0 / 299.2 MB, free: 18.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.1393, allocations: 78.94 kB / 299.2 MB, free: 18.33 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.0001197/0.1395, allocations: 86.45 kB / 299.3 MB, free: 18.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.1398, allocations: 243.5 kB / 299.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.1398, allocations: 3.656 kB / 299.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1398, allocations: 34.2 kB / 299.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1401, allocations: 62.95 kB / 299.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.1409, allocations: 498.3 kB / 300.1 MB, free: 17.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.141, allocations: 86.19 kB / 300.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1411, allocations: 36.2 kB / 300.3 MB, free: 17.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1413, allocations: 100.7 kB / 300.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1413, allocations: 0 / 300.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of Templates: time 0.007539/0.1488, allocations: 4.142 MB / 304.5 MB, free: 16.07 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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8708924441598356]