Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.001238/0.001238, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001837/0.001837, allocations: 163.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.0284/0.0284, allocations: 4.223 MB / 263.4 MB, free: 12.58 MB / 254.1 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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.072e-05, allocations: 2.281 kB / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005224/0.005255, allocations: 3.147 MB / 395.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.007615, allocations: 1.215 MB / 396.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.007935, allocations: 7.938 kB / 396.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.008599, allocations: 194.8 kB / 396.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.009137, allocations: 182.7 kB / 396.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.009417, allocations: 119.8 kB / 397.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007784/0.0102, allocations: 0.5835 MB / 397.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.01043, allocations: 80.64 kB / 397.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004891/0.01092, allocations: 315.2 kB / 398 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.01126, allocations: 191.5 kB / 398.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/0.01135, allocations: 52 kB / 398.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.01152, allocations: 71.97 kB / 398.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.01163, allocations: 115.6 kB / 398.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.01182, allocations: 159.6 kB / 398.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008756/0.0127, allocations: 0.5608 MB / 399.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.0127, allocations: 0 / 399.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.0127, allocations: 0 / 399.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.01272, allocations: 0 / 399.2 MB, free: 3.125 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002055/0.01477, allocations: 0.7384 MB / 399.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.01481, allocations: 8.031 kB / 399.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.01493, allocations: 48.66 kB / 400 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.01606, allocations: 422.9 kB / 400.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.01608, allocations: 20.88 kB / 400.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.01613, allocations: 20.38 kB / 400.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.0168, allocations: 318.3 kB / 400.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.01681, allocations: 7.922 kB / 400.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.01685, allocations: 12 kB / 400.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01686, allocations: 11.94 kB / 400.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.01749, allocations: 241.8 kB / 401 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.01961, allocations: 1.116 MB / 402.1 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.02014, allocations: 170.6 kB / 402.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.02047, allocations: 116.9 kB / 402.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.0205, allocations: 3.938 kB / 402.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.02053, allocations: 34.56 kB / 402.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.02053, allocations: 4 kB / 402.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.002122/0.02265, allocations: 469.8 kB / 402.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.02269, allocations: 51.41 kB / 402.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.02311, allocations: 369.5 kB / 403.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.02314, allocations: 33.7 kB / 403.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.02331, allocations: 220.1 kB / 403.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.02336, allocations: 47.64 kB / 403.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02346, allocations: 49.69 kB / 403.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.02362, allocations: 346.7 kB / 404 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.0239, allocations: 99.94 kB / 404.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.02421, allocations: 140.5 kB / 404.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.02473, allocations: 215.3 kB / 404.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.02474, allocations: 4 kB / 404.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001293/0.02603, allocations: 437.6 kB / 404.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.02604, allocations: 7.938 kB / 404.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.02605, allocations: 0 / 404.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008594/0.02691, allocations: 245.6 kB / 405.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.02711, allocations: 44.03 kB / 405.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.02939, allocations: 2.078 MB / 407.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.02971, allocations: 35.86 kB / 407.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.02975, allocations: 15.98 kB / 407.3 MB, free: 10.62 MB / 334.1 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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.0001898/0.02994, allocations: 150.5 kB / 407.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.03002, allocations: 31.81 kB / 407.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.664e-05/0.03008, allocations: 35.14 kB / 407.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.03009, allocations: 4 kB / 407.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.03009, allocations: 0 / 407.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.03009, allocations: 3.984 kB / 407.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.03127, allocations: 0.6011 MB / 408.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.03127, allocations: 4.078 kB / 408.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.03136, allocations: 15.94 kB / 408.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.03171, allocations: 168.8 kB / 408.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.03173, allocations: 3.938 kB / 408.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006626/0.03239, allocations: 0.6499 MB / 408.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03239, allocations: 0 / 408.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.03308, allocations: 364.8 kB / 409.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.03319, allocations: 43.78 kB / 409.3 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.03323, allocations: 8 kB / 409.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.03349, allocations: 24.03 kB / 409.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.03354, allocations: 7.922 kB / 409.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.03356, allocations: 8 kB / 409.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002798/0.03384, allocations: 251.2 kB / 409.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03384, allocations: 0 / 409.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.03422, allocations: 87.72 kB / 409.7 MB, free: 8.078 MB / 334.1 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 (9): * 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: 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001512/0.03437, allocations: 103.2 kB / 409.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.03529, allocations: 363.3 kB / 410.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0353, allocations: 0 / 410.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.03557, allocations: 96.11 kB / 410.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.03608, allocations: 61.59 kB / 410.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.0372, allocations: 0.5766 MB / 410.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.03737, allocations: 169.1 kB / 411.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.03751, allocations: 38.95 kB / 411.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.03757, allocations: 24.5 kB / 411.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.03757, allocations: 0 / 411.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of Templates: time 0.01008/0.04765, allocations: 4.532 MB / 415.7 MB, free: 2.141 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.374014984816313] Failed to read output from testmodel.py, exit status != 0: 0.05631634220480919 0.069888225 0.054054577000000006 Calling exit ...