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.0008463/0.0008463, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001976, 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.0007372/0.0007372, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009289/0.001666, 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 0.9956/0.9956, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09241/1.088, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.01794/0.01794, allocations: 4.33 MB / 248.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003527/0.02146, allocations: 1.699 MB / 250 MB, free: 8.961 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.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.804e-06/1.804e-06, allocations: 0 / 251.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.344e-05, allocations: 2.312 kB / 251.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004876/0.0049, allocations: 3.478 MB / 254.8 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.007133, allocations: 1.38 MB / 256.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.007297, allocations: 4 kB / 256.2 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.007737, allocations: 262.5 kB / 256.4 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.007977, allocations: 182.6 kB / 256.6 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.00814, allocations: 123.8 kB / 256.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.008729, allocations: 0.6069 MB / 257.3 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.008911, allocations: 89.22 kB / 257.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.009652, allocations: 412.4 kB / 257.8 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.009868, allocations: 187.4 kB / 258 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.009909, allocations: 44 kB / 258 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.01003, allocations: 75.92 kB / 258.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.01009, allocations: 67.75 kB / 258.2 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.01022, allocations: 123.8 kB / 258.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.01065, allocations: 326.8 kB / 258.6 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.01067, allocations: 0 / 258.6 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01067, allocations: 0 / 258.6 MB, free: 288 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.01069, allocations: 0 / 258.6 MB, free: 288 kB / 250.7 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.00124/0.01193, allocations: 0.7289 MB / 259.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.01196, allocations: 15.98 kB / 259.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/0.01206, allocations: 51.95 kB / 259.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.01263, allocations: 299.8 kB / 259.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.01265, allocations: 20.5 kB / 259.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.01269, allocations: 27.75 kB / 259.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.01306, allocations: 258.8 kB / 260 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01307, allocations: 3.938 kB / 260 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.01309, allocations: 4 kB / 260 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.0131, allocations: 8 kB / 260 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.01327, allocations: 79.39 kB / 260.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.01459, allocations: 0.8776 MB / 261 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.01485, allocations: 110.5 kB / 261.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.01497, allocations: 56.77 kB / 261.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.015, allocations: 4 kB / 261.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.01502, allocations: 30.56 kB / 261.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.01502, allocations: 0 / 261.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009041/0.01593, allocations: 226.2 kB / 261.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.01595, allocations: 51.62 kB / 261.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.01617, allocations: 355.2 kB / 261.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01618, allocations: 25.7 kB / 261.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.01627, allocations: 193.1 kB / 262 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.01629, allocations: 47.62 kB / 262 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.01636, allocations: 49.67 kB / 262.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.01645, allocations: 346.7 kB / 262.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.01649, allocations: 27.98 kB / 262.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.01656, allocations: 71.98 kB / 262.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.01669, allocations: 101.8 kB / 262.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01669, allocations: 0 / 262.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003973/0.01708, allocations: 246 kB / 262.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.0171, allocations: 4 kB / 262.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01711, allocations: 4 kB / 262.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/0.01753, allocations: 205.5 kB / 263.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01764, allocations: 47.97 kB / 263.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.0188, allocations: 1.922 MB / 265 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.01894, allocations: 23.84 kB / 265.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.01896, allocations: 11.98 kB / 265.1 MB, free: 9.449 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): 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 8.843e-05/0.01905, allocations: 125.8 kB / 265.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.01908, allocations: 19.97 kB / 265.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.01912, allocations: 35.19 kB / 265.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01912, allocations: 4 kB / 265.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01913, allocations: 0 / 265.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01913, allocations: 0 / 265.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.01963, allocations: 372.1 kB / 265.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01963, allocations: 0 / 265.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.01967, allocations: 16 kB / 265.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.01973, allocations: 43.77 kB / 265.7 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.01988, allocations: 120.8 kB / 265.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.01989, allocations: 0 / 265.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002129/0.0201, allocations: 0.5562 MB / 266.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.0201, allocations: 3.938 kB / 266.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.02026, allocations: 213.1 kB / 266.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.02028, allocations: 0 / 266.6 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.02038, allocations: 19.95 kB / 266.6 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.02041, allocations: 11.98 kB / 266.6 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.02041, allocations: 4 kB / 266.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.02052, allocations: 136.7 kB / 266.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02052, allocations: 4 kB / 266.7 MB, free: 7.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.02075, allocations: 87.84 kB / 266.8 MB, free: 7.617 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 (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.0001087/0.02086, allocations: 84.34 kB / 266.9 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.02121, allocations: 269.8 kB / 267.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.02122, allocations: 11.94 kB / 267.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.02127, allocations: 32.83 kB / 267.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.02156, allocations: 117.8 kB / 267.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.02403, allocations: 0.5779 MB / 267.9 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.044e-05/0.02409, allocations: 92.61 kB / 268 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.02419, allocations: 34.95 kB / 268 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.02431, allocations: 107.3 kB / 268.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02431, allocations: 0 / 268.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of Templates: time 0.007704/0.03202, allocations: 5.438 MB / 273.6 MB, free: 0.875 MB / 266.7 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=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5717861130833626]