Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.001784/0.001784, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.002235/0.002235, allocations: 165.3 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.02863/0.02863, allocations: 4.222 MB / 263.4 MB, free: 12.6 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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 392.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.776e-05, allocations: 5.234 kB / 392.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.00623/0.006258, allocations: 4 MB / 396.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.009739, allocations: 1.535 MB / 397.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.01043, allocations: 11.94 kB / 397.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.01163, allocations: 297.3 kB / 398 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.01259, allocations: 254.2 kB / 398.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.01325, allocations: 231.5 kB / 398.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02816/0.04141, allocations: 26.39 MB / 424.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009252/0.05066, allocations: 3.769 MB / 428.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02583/0.07649, allocations: 13.96 MB / 442.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3224/0.3989, allocations: 11.62 MB / 454.3 MB, free: 33.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008875/0.4078, allocations: 2.704 MB / 457 MB, free: 33.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.4194, allocations: 2.722 MB / 459.7 MB, free: 33.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01106/0.4305, allocations: 5.184 MB / 464.9 MB, free: 33.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02221/0.4527, allocations: 6.896 MB / 471.8 MB, free: 30.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0269/0.4796, allocations: 30.71 MB / 0.4907 GB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4796, allocations: 2.719 kB / 0.4907 GB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4796, allocations: 0 / 0.4907 GB, free: 12.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007322/0.4803, allocations: 2.953 kB / 0.4907 GB, free: 12.55 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.1092/0.5895, allocations: 31.36 MB / 0.5213 GB, free: 360 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5895, allocations: 8.031 kB / 0.5213 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.6023, allocations: 1.544 MB / 0.5228 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06353/0.6658, allocations: 18.77 MB / 0.5412 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009905/0.6668, allocations: 0.6277 MB / 0.5418 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005859/0.6727, allocations: 0.8136 MB / 0.5426 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04985/0.7225, allocations: 15.73 MB / 0.5579 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000427/0.7229, allocations: 24.88 kB / 0.558 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00439/0.7273, allocations: 344 kB / 0.5583 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000227/0.7276, allocations: 215.9 kB / 0.5585 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05147/0.779, allocations: 17.58 MB / 0.5757 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3285/1.107, allocations: 52.45 MB / 0.6269 GB, free: 115.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0346/1.142, allocations: 17.33 MB / 0.6438 GB, free: 112.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/1.154, allocations: 7.149 MB / 0.6508 GB, free: 110 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/1.154, allocations: 57.45 kB / 0.6508 GB, free: 110 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.759e-05/1.155, allocations: 80.81 kB / 0.6509 GB, free: 109.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=448): time 7.314e-06/1.155, allocations: 3.812 kB / 0.6509 GB, free: 109.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=448): time 0.045/1.2, allocations: 21.92 MB / 0.6723 GB, free: 101 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.2, allocations: 99.17 kB / 0.6724 GB, free: 100.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02534/1.225, allocations: 13.6 MB / 0.6857 GB, free: 88.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001621/1.227, allocations: 109.7 kB / 0.6858 GB, free: 88.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005881/1.232, allocations: 6.263 MB / 0.6919 GB, free: 83.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002752/1.235, allocations: 1.638 MB / 0.6935 GB, free: 81.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01005/1.245, allocations: 2.117 MB / 0.6956 GB, free: 79.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/1.245, allocations: 305.1 kB / 0.6959 GB, free: 79.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01385/1.259, allocations: 7.648 MB / 0.7033 GB, free: 71.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01467/1.274, allocations: 8.836 MB / 0.712 GB, free: 62.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02882/1.303, allocations: 14.39 MB / 0.726 GB, free: 47.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.729e-05/1.303, allocations: 8.562 kB / 0.726 GB, free: 47.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.07108/1.374, allocations: 25.57 MB / 0.751 GB, free: 21.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/1.374, allocations: 12 kB / 0.751 GB, free: 21.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/1.374, allocations: 24.88 kB / 0.751 GB, free: 21.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05088/1.425, allocations: 26.4 MB / 0.7768 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007998/1.433, allocations: 1.502 MB / 0.7783 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3135/1.746, allocations: 102.5 MB / 0.8783 GB, free: 104.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01866/1.765, allocations: 2.356 MB / 0.8806 GB, free: 103.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003052/1.768, allocations: 378.1 kB / 0.881 GB, free: 103.1 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01051/1.778, allocations: 4.566 MB / 0.8855 GB, free: 100.4 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004038/1.783, allocations: 1.109 MB / 0.8865 GB, free: 100.4 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.035/1.818, allocations: 17.45 MB / 0.9036 GB, free: 87.66 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/1.818, allocations: 44 kB / 0.9036 GB, free: 87.62 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.818, allocations: 0 / 0.9036 GB, free: 87.62 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.976e-05/1.818, allocations: 19.92 kB / 0.9036 GB, free: 87.6 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07603/1.894, allocations: 29.68 MB / 0.9326 GB, free: 58.12 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/1.894, allocations: 0 / 0.9326 GB, free: 58.12 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.896, allocations: 459.4 kB / 0.9331 GB, free: 57.67 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02578/1.921, allocations: 15.81 MB / 0.9485 GB, free: 41.85 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001702/1.923, allocations: 111.9 kB / 0.9486 GB, free: 41.74 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07084/1.994, allocations: 25.2 MB / 0.9732 GB, free: 16.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.994, allocations: 7.938 kB / 0.9732 GB, free: 16.59 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2718/2.266, allocations: 16.68 MB / 0.9895 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009393/2.275, allocations: 2.655 MB / 0.9921 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008297/2.283, allocations: 72.81 kB / 0.9922 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01292/2.296, allocations: 1.311 MB / 0.9935 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/2.297, allocations: 233.5 kB / 0.9937 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001466/2.299, allocations: 145.3 kB / 0.9938 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02548/2.324, allocations: 9.275 MB / 1.003 GB, free: 146.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.8e-07/2.324, allocations: 0 / 1.003 GB, free: 146.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01745/2.342, allocations: 3.1 MB / 1.006 GB, free: 146.5 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002012/2.344, allocations: 201 kB / 1.006 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.07874/2.423, allocations: 30.36 MB / 1.036 GB, free: 135.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/2.423, allocations: 4.375 kB / 1.036 GB, free: 135.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05005/2.473, allocations: 15.05 MB / 1.05 GB, free: 125.6 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02162/2.494, allocations: 2.62 MB / 1.053 GB, free: 123.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06547/2.56, allocations: 29.69 MB / 1.082 GB, free: 93.5 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/2.572, allocations: 8.208 MB / 1.09 GB, free: 85.23 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01018/2.583, allocations: 3.496 MB / 1.093 GB, free: 81.73 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/2.585, allocations: 0.5746 MB / 1.094 GB, free: 81.16 MB / 0.4982 GB Notification: Performance of SimCode: time 1.343e-06/2.585, allocations: 0 / 1.094 GB, free: 81.16 MB / 0.4982 GB Notification: Performance of Templates: time 0.4769/3.062, allocations: 182 MB / 1.272 GB, free: 96.84 MB / 0.5138 GB " [Timeout remaining time 657] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.512197654694319] Failed to read output from testmodel.py, exit status != 0: 3.073246616870165 3.08291109 2.600503736 Calling exit ...