Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.001286/0.001286, allocations: 84.28 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.001379/0.001379, allocations: 170.3 kB / 22.46 MB, free: 5.355 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.02934/0.02934, allocations: 4.227 MB / 263.4 MB, free: 12.59 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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.037e-05, allocations: 6.281 kB / 392.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004963/0.004993, allocations: 3.186 MB / 395.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.007407, allocations: 1.227 MB / 396.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003604/0.007768, allocations: 7.938 kB / 396.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.008485, allocations: 198.8 kB / 396.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.009066, allocations: 186.6 kB / 397 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.009366, allocations: 123.8 kB / 397.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.01009, allocations: 0.603 MB / 397.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.0103, allocations: 76.64 kB / 397.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/0.01071, allocations: 323.2 kB / 398.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.01101, allocations: 199.4 kB / 398.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.01111, allocations: 52 kB / 398.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.01127, allocations: 79.97 kB / 398.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.01138, allocations: 115.5 kB / 398.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.01158, allocations: 163.6 kB / 398.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.01227, allocations: 0.5725 MB / 399.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01227, allocations: 0 / 399.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01227, allocations: 0 / 399.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.01228, allocations: 0 / 399.3 MB, free: 3.004 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001947/0.01423, allocations: 0.754 MB / 400 MB, free: 2.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.01427, allocations: 8.031 kB / 400 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.01439, allocations: 48.66 kB / 400.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.0156, allocations: 434.9 kB / 400.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.01562, allocations: 20.81 kB / 400.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.01566, allocations: 28.38 kB / 400.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.01638, allocations: 346.2 kB / 400.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.0164, allocations: 3.938 kB / 400.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.01643, allocations: 12 kB / 400.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01644, allocations: 4 kB / 400.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.01719, allocations: 281.8 kB / 401.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.01968, allocations: 1.164 MB / 402.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.02034, allocations: 213.5 kB / 402.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.02078, allocations: 136.8 kB / 402.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.0208, allocations: 4 kB / 402.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.02084, allocations: 38.55 kB / 402.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.02084, allocations: 0 / 402.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002363/0.0232, allocations: 0.5099 MB / 403.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.02326, allocations: 55.41 kB / 403.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.0237, allocations: 369.5 kB / 403.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.02373, allocations: 33.64 kB / 403.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.0239, allocations: 216.5 kB / 403.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.02396, allocations: 67.45 kB / 404 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.02408, allocations: 57.69 kB / 404 MB, free: 14.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.02427, allocations: 338.8 kB / 404.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.02461, allocations: 115.9 kB / 404.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.02499, allocations: 152.1 kB / 404.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.02566, allocations: 256.7 kB / 404.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.02566, allocations: 0 / 404.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001392/0.02705, allocations: 453.2 kB / 405.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.02708, allocations: 4 kB / 405.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.02709, allocations: 8.062 kB / 405.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/0.02809, allocations: 257.4 kB / 405.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.02832, allocations: 43.97 kB / 405.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.03092, allocations: 2.109 MB / 407.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.0313, allocations: 43.83 kB / 407.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.03133, allocations: 11.94 kB / 407.8 MB, free: 10.11 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 (26): * Single equations (assignments): 24 * 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.0002202/0.03155, allocations: 146.4 kB / 407.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.03164, allocations: 35.77 kB / 408 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.03173, allocations: 39.12 kB / 408 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.03174, allocations: 4 kB / 408 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.03174, allocations: 3.984 kB / 408 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.03175, allocations: 3.938 kB / 408 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.03356, allocations: 0.6792 MB / 408.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.03356, allocations: 4 kB / 408.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.03368, allocations: 27.86 kB / 408.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/0.03415, allocations: 176.8 kB / 408.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.03417, allocations: 4 kB / 408.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008252/0.035, allocations: 0.6694 MB / 409.6 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.035, allocations: 3.938 kB / 409.6 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.03609, allocations: 432.8 kB / 410 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.03623, allocations: 55.67 kB / 410.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.03628, allocations: 4 kB / 410.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.03657, allocations: 27.97 kB / 410.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.03663, allocations: 15.92 kB / 410.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.03664, allocations: 0 / 410.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.03696, allocations: 255.2 kB / 410.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03696, allocations: 0 / 410.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.0374, allocations: 83.84 kB / 410.4 MB, free: 7.355 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 (13): * Single equations (assignments): 12 * 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.0002033/0.0376, allocations: 115.1 kB / 410.5 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.03877, allocations: 395.3 kB / 410.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.03878, allocations: 4 kB / 410.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.03912, allocations: 108 kB / 411 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.03964, allocations: 69.5 kB / 411.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.04113, allocations: 0.6196 MB / 411.7 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.04132, allocations: 182.5 kB / 411.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.04148, allocations: 42.89 kB / 412 MB, free: 5.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.04154, allocations: 24.5 kB / 412 MB, free: 5.742 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.04154, allocations: 0 / 412 MB, free: 5.742 MB / 334.1 MB Notification: Performance of Templates: time 0.01068/0.05223, allocations: 4.679 MB / 416.7 MB, free: 1.148 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.478780671954155] Failed to read output from testmodel.py, exit status != 0: 0.061787012964487076 0.07712838500000001 0.061656726 Calling exit ...