Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.001384/0.001384, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00163/0.00163, allocations: 218 kB / 23.01 MB, free: 4.609 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.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.03166/0.03166, allocations: 5.487 MB / 318.7 MB, free: 13.76 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.89 kB / 449 MB, free: 1.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09927, allocations: 54.62 MB / 0.4918 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006097/0.1054, allocations: 4.434 MB / 0.4962 GB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1084, allocations: 1.659 MB / 0.4978 GB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.1088, allocations: 11.94 kB / 0.4978 GB, free: 5.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009201/0.1097, allocations: 328.9 kB / 0.4981 GB, free: 4.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.1103, allocations: 250.4 kB / 0.4983 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.1108, allocations: 223.6 kB / 0.4986 GB, free: 4.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2185/0.3292, allocations: 25.78 MB / 0.5237 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005795/0.335, allocations: 3.695 MB / 0.5273 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/0.3469, allocations: 9.634 MB / 0.5368 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01869/0.3656, allocations: 10.92 MB / 0.5474 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006543/0.3722, allocations: 2.706 MB / 0.5501 GB, free: 4.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007255/0.3794, allocations: 2.724 MB / 0.5527 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004797/0.3842, allocations: 5.14 MB / 0.5577 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01781/0.402, allocations: 9.57 MB / 0.5671 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03331/0.4353, allocations: 29.12 MB / 0.5955 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4353, allocations: 3.984 kB / 0.5955 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4353, allocations: 0 / 0.5955 GB, free: 11.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006276/0.436, allocations: 0 / 0.5955 GB, free: 11.54 MB / 430.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.109/0.545, allocations: 31.51 MB / 0.6263 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5451, allocations: 8.031 kB / 0.6263 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006574/0.5516, allocations: 1.544 MB / 0.6278 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0547/0.6063, allocations: 18.77 MB / 0.6461 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007425/0.6071, allocations: 0.6265 MB / 0.6468 GB, free: 7.258 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003887/0.611, allocations: 0.8163 MB / 0.6476 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03384/0.6448, allocations: 15.7 MB / 0.6629 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001697/0.645, allocations: 27.84 kB / 0.6629 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001189/0.6462, allocations: 348 kB / 0.6632 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/0.6463, allocations: 212 kB / 0.6634 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0399/0.6862, allocations: 17.61 MB / 0.6806 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5209/1.207, allocations: 57.45 MB / 0.7367 GB, free: 150.7 MB / 0.5451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03212/1.239, allocations: 17.35 MB / 0.7537 GB, free: 149.8 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01089/1.25, allocations: 7.146 MB / 0.7607 GB, free: 147.6 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/1.25, allocations: 73.5 kB / 0.7607 GB, free: 147.6 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.25, allocations: 76.83 kB / 0.7608 GB, free: 147.5 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=448): time 6.061e-06/1.25, allocations: 0 / 0.7608 GB, free: 147.5 MB / 0.5451 GB Notification: Performance of matching and sorting (n=448): time 0.03718/1.288, allocations: 22.05 MB / 0.7823 GB, free: 138.7 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.288, allocations: 106.4 kB / 0.7824 GB, free: 138.6 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02048/1.308, allocations: 15.37 MB / 0.7975 GB, free: 127.1 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.001423/1.309, allocations: 109.7 kB / 0.7976 GB, free: 127 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.004473/1.314, allocations: 6.205 MB / 0.8036 GB, free: 122 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/1.316, allocations: 1.657 MB / 0.8052 GB, free: 120.5 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003819/1.32, allocations: 2.141 MB / 0.8073 GB, free: 118.4 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 3.27e-05/1.32, allocations: 301.1 kB / 0.8076 GB, free: 118.1 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01154/1.331, allocations: 7.649 MB / 0.8151 GB, free: 110.4 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/1.344, allocations: 8.841 MB / 0.8237 GB, free: 101.2 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02426/1.368, allocations: 14.4 MB / 0.8378 GB, free: 86.53 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/1.368, allocations: 4 kB / 0.8378 GB, free: 86.53 MB / 0.5451 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05164/1.42, allocations: 25.69 MB / 0.8629 GB, free: 60.71 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/1.42, allocations: 19.94 kB / 0.8629 GB, free: 60.69 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/1.42, allocations: 20 kB / 0.8629 GB, free: 60.67 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04619/1.466, allocations: 26.11 MB / 0.8884 GB, free: 34.43 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006789/1.473, allocations: 1.494 MB / 0.8899 GB, free: 32.94 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3659/1.839, allocations: 103.8 MB / 0.9912 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01753/1.856, allocations: 2.51 MB / 0.9937 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002162/1.858, allocations: 383.9 kB / 0.994 GB, free: 152.8 MB / 0.5763 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.008476/1.867, allocations: 4.56 MB / 0.9985 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003191/1.87, allocations: 1.238 MB / 0.9997 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03248/1.902, allocations: 17.56 MB / 1.017 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/1.903, allocations: 41.06 kB / 1.017 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.903, allocations: 6.312 kB / 1.017 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.02e-05/1.903, allocations: 23.91 kB / 1.017 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06326/1.966, allocations: 32.44 MB / 1.049 GB, free: 114.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/1.966, allocations: 4 kB / 1.049 GB, free: 114.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/1.968, allocations: 452.7 kB / 1.049 GB, free: 114.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02423/1.992, allocations: 15.81 MB / 1.064 GB, free: 98.63 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001083/1.993, allocations: 119.9 kB / 1.065 GB, free: 98.51 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0638/2.057, allocations: 25.2 MB / 1.089 GB, free: 73.38 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.057, allocations: 0 / 1.089 GB, free: 73.38 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02782/2.085, allocations: 16.82 MB / 1.106 GB, free: 56.73 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0069/2.091, allocations: 2.86 MB / 1.108 GB, free: 53.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002467/2.094, allocations: 72 kB / 1.108 GB, free: 53.85 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008859/2.103, allocations: 1.317 MB / 1.11 GB, free: 52.54 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/2.103, allocations: 235 kB / 1.11 GB, free: 52.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004963/2.104, allocations: 147.9 kB / 1.11 GB, free: 52.16 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01369/2.117, allocations: 10.61 MB / 1.12 GB, free: 41.59 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.2e-07/2.117, allocations: 3.938 kB / 1.12 GB, free: 41.59 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008727/2.126, allocations: 2.969 MB / 1.123 GB, free: 38.73 MB / 0.5763 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.0006526/2.127, allocations: 201.9 kB / 1.124 GB, free: 38.53 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.06964/2.196, allocations: 30.38 MB / 1.153 GB, free: 7.344 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/2.196, allocations: 0 / 1.153 GB, free: 7.344 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0522/2.248, allocations: 15.05 MB / 1.168 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2247/2.473, allocations: 3.144 MB / 1.171 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05562/2.529, allocations: 30.23 MB / 1.201 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00728/2.536, allocations: 8.535 MB / 1.209 GB, free: 176 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002587/2.539, allocations: 0.6647 MB / 1.21 GB, free: 176 MB / 0.5919 GB Notification: Performance of SimCode: time 1.493e-06/2.539, allocations: 0 / 1.21 GB, free: 176 MB / 0.5919 GB Notification: Performance of Templates: time 3.709/6.248, allocations: 1.998 GB / 3.208 GB, free: 193.4 MB / 0.6232 GB " [Timeout remaining time 654] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow -s=dassl -lv=LOG_STATS -jacobian=coloredNumerical -nls=newton -nlssMaxDensity=0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 38.788155913120136] Failed to read output from testmodel.py, exit status != 0: 6.2567920088768005 6.269693546 5.831794183 Calling exit ...