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.0006761/0.0006761, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008736/0.00155, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008022/0.0008022, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000922/0.001724, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07971/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.01801/0.01801, allocations: 4.319 MB / 248.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001861/0.01987, allocations: 1.698 MB / 250 MB, free: 8.965 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.373e-06/1.373e-06, allocations: 0 / 251.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.098e-05, allocations: 2.312 kB / 251.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.002943/0.002954, allocations: 3.386 MB / 254.7 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004232, allocations: 1.341 MB / 256 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.004355, allocations: 8 kB / 256 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.004741, allocations: 266.5 kB / 256.3 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.004927, allocations: 174.7 kB / 256.5 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.005058, allocations: 115.8 kB / 256.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.005432, allocations: 0.5603 MB / 257.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.005572, allocations: 85.27 kB / 257.2 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.005901, allocations: 386.3 kB / 257.6 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.00609, allocations: 183.5 kB / 257.8 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.006131, allocations: 44 kB / 257.8 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.006231, allocations: 67.92 kB / 257.9 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.006275, allocations: 67.75 kB / 258 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.006363, allocations: 115.8 kB / 258.1 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.006638, allocations: 302.9 kB / 258.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.006649, allocations: 3.938 kB / 258.4 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006649, allocations: 4 kB / 258.4 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.006658, allocations: 0 / 258.4 MB, free: 0.5312 MB / 250.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.0008014/0.00746, allocations: 0.6937 MB / 259.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.007487, allocations: 15.98 kB / 259.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.007538, allocations: 35.97 kB / 259.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.007897, allocations: 299.8 kB / 259.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.007909, allocations: 16.5 kB / 259.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.007929, allocations: 19.94 kB / 259.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.008148, allocations: 224.8 kB / 259.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.008155, allocations: 0 / 259.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.008171, allocations: 8 kB / 259.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.008175, allocations: 8 kB / 259.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.008273, allocations: 76.95 kB / 259.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.009158, allocations: 0.8786 MB / 260.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.009265, allocations: 70.47 kB / 260.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.009339, allocations: 44.83 kB / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.009355, allocations: 4 kB / 260.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.00937, allocations: 30.72 kB / 260.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.009371, allocations: 0 / 260.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001484/0.009519, allocations: 93.58 kB / 260.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.009547, allocations: 55.41 kB / 260.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.009737, allocations: 335.2 kB / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.00975, allocations: 29.7 kB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.009825, allocations: 192.7 kB / 261.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.00984, allocations: 27.78 kB / 261.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.009901, allocations: 49.62 kB / 261.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.00998, allocations: 342.8 kB / 261.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.01002, allocations: 27.98 kB / 261.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.01008, allocations: 66.64 kB / 262 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.01017, allocations: 95.31 kB / 262.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01018, allocations: 3.938 kB / 262.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003072/0.01049, allocations: 201 kB / 262.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.0105, allocations: 4 kB / 262.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.0105, allocations: 0 / 262.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.01071, allocations: 88.84 kB / 262.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.01086, allocations: 55.89 kB / 262.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008917/0.01176, allocations: 1.362 MB / 263.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01187, allocations: 23.88 kB / 263.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01188, allocations: 8 kB / 263.8 MB, free: 10.78 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.279e-05/0.01195, allocations: 121.8 kB / 263.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.01198, allocations: 15.98 kB / 263.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.01201, allocations: 35.06 kB / 264 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-07/0.01201, allocations: 4.062 kB / 264 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01202, allocations: 3.938 kB / 264 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01202, allocations: 0 / 264 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.01232, allocations: 327.4 kB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.01232, allocations: 0 / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.0124, allocations: 27.91 kB / 264.3 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.01246, allocations: 35.8 kB / 264.4 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.01246, allocations: 7.875 kB / 264.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.01247, allocations: 4 kB / 264.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01247, allocations: 4.031 kB / 264.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01247, allocations: 0 / 264.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.01258, allocations: 180.4 kB / 264.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.0126, allocations: 0 / 264.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.01269, allocations: 11.92 kB / 264.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.01272, allocations: 7.984 kB / 264.6 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01272, allocations: 4 kB / 264.6 MB, free: 9.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.01283, allocations: 140.7 kB / 264.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01283, allocations: 0 / 264.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.01302, allocations: 79.83 kB / 264.8 MB, free: 9.738 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 7.996e-05/0.0131, allocations: 88.34 kB / 264.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.01337, allocations: 246.9 kB / 265.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.01338, allocations: 4 kB / 265.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.01342, allocations: 28.78 kB / 265.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.01366, allocations: 90 kB / 265.2 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.01562, allocations: 0.5268 MB / 265.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.01566, allocations: 88.3 kB / 265.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.113e-05/0.01576, allocations: 34.95 kB / 265.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.01588, allocations: 111.3 kB / 266 MB, free: 8.449 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01588, allocations: 0 / 266 MB, free: 8.449 MB / 266.7 MB Notification: Performance of Templates: time 0.005835/0.02172, allocations: 4.413 MB / 270.4 MB, free: 4.117 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.3890018854290247]