Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.001251/0.001251, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009301/0.0009301, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9265/0.9265, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.01681/0.01681, allocations: 4.215 MB / 263.4 MB, free: 9.133 MB / 250.7 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: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 0 / 391.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.344e-05, allocations: 2.281 kB / 391.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.008722/0.008756, allocations: 8.952 MB / 400.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.01515, allocations: 3.398 MB / 404 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/0.01606, allocations: 79.62 kB / 404.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.01935, allocations: 3.179 MB / 407.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.02132, allocations: 0.8927 MB / 408.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.02264, allocations: 1.055 MB / 409.3 MB, free: 4.438 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.02544, allocations: 4.393 MB / 413.6 MB, free: 28 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005563/0.03101, allocations: 6.57 MB / 420.2 MB, free: 9.363 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.03399, allocations: 3.628 MB / 423.8 MB, free: 5.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/0.03629, allocations: 2.269 MB / 426.1 MB, free: 3.457 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007756/0.03707, allocations: 0.7188 MB / 426.8 MB, free: 2.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.03827, allocations: 1.027 MB / 427.9 MB, free: 1.711 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006885/0.03896, allocations: 1.352 MB / 429.2 MB, free: 364 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.04086, allocations: 1.735 MB / 430.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006286/0.04715, allocations: 9.319 MB / 440.3 MB, free: 5.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.04715, allocations: 4 kB / 440.3 MB, free: 5.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.04716, allocations: 0 / 440.3 MB, free: 5.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001426/0.0473, allocations: 0 / 440.3 MB, free: 5.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.1638/0.2111, allocations: 5.321 MB / 445.6 MB, free: 87.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2112, allocations: 9.656 kB / 445.6 MB, free: 87.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001785/0.213, allocations: 0.6085 MB / 446.2 MB, free: 87.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/0.2177, allocations: 1.634 MB / 447.8 MB, free: 87.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.2207, allocations: 2.961 MB / 450.8 MB, free: 86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.2208, allocations: 315.1 kB / 451.1 MB, free: 85.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/0.2212, allocations: 415.6 kB / 451.5 MB, free: 85.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00637/0.2276, allocations: 6.7 MB / 458.2 MB, free: 83.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.739e-05/0.2276, allocations: 7 kB / 458.2 MB, free: 83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.2279, allocations: 172.7 kB / 458.4 MB, free: 82.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.228, allocations: 212.7 kB / 458.6 MB, free: 82.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/0.2333, allocations: 5.641 MB / 464.2 MB, free: 80.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.2479, allocations: 19.71 MB / 483.9 MB, free: 69.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.2508, allocations: 2.168 MB / 486.1 MB, free: 68.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.2516, allocations: 0.7808 MB / 486.9 MB, free: 68.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.2517, allocations: 42 kB / 486.9 MB, free: 68.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008529/0.2526, allocations: 0.8091 MB / 487.7 MB, free: 68.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 2.354e-06/0.2526, allocations: 7.938 kB / 487.8 MB, free: 68.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.00349/0.2561, allocations: 2.232 MB / 490 MB, free: 67.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.2561, allocations: 149.6 kB / 490.1 MB, free: 67.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.2581, allocations: 1.907 MB / 492 MB, free: 66.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.2582, allocations: 41.95 kB / 492.1 MB, free: 66.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.2594, allocations: 2.029 MB / 494.1 MB, free: 64.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.2596, allocations: 396.5 kB / 494.5 MB, free: 64.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005466/0.2601, allocations: 0.5423 MB / 495 MB, free: 64.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.2602, allocations: 306.5 kB / 495.3 MB, free: 63.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.2613, allocations: 1.11 MB / 496.4 MB, free: 63.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.2629, allocations: 2.2 MB / 498.6 MB, free: 61.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.2651, allocations: 3.377 MB / 0.4903 GB, free: 59.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.2651, allocations: 7.719 kB / 0.4903 GB, free: 59.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.003026/0.2682, allocations: 3.52 MB / 0.4937 GB, free: 56.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.2682, allocations: 45.7 kB / 0.4937 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.2682, allocations: 36 kB / 0.4938 GB, free: 56.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.2685, allocations: 139 kB / 0.4939 GB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.2695, allocations: 0.6042 MB / 0.4945 GB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007591/0.2702, allocations: 1.526 MB / 0.496 GB, free: 54.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.2712, allocations: 372.2 kB / 0.4963 GB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.2713, allocations: 137.1 kB / 0.4965 GB, free: 53.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001245/0.2726, allocations: 1.72 MB / 0.4982 GB, free: 52.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2727, allocations: 162.9 kB / 0.4983 GB, free: 52.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2743, allocations: 1.816 MB / 0.5001 GB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001191/0.2755, allocations: 1.471 MB / 0.5015 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2755, allocations: 0 / 0.5015 GB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2755, allocations: 7.922 kB / 0.5015 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.2798, allocations: 4.829 MB / 0.5062 GB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2798, allocations: 3.938 kB / 0.5063 GB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.2802, allocations: 203.9 kB / 0.5064 GB, free: 43.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/0.2805, allocations: 297.9 kB / 0.5067 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.2806, allocations: 27.98 kB / 0.5068 GB, free: 43.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004778/0.2811, allocations: 0.9006 MB / 0.5076 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2811, allocations: 7.938 kB / 0.5076 GB, free: 42.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.2832, allocations: 2.662 MB / 0.5102 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.2835, allocations: 293.3 kB / 0.5105 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2836, allocations: 24 kB / 0.5105 GB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.284, allocations: 83.97 kB / 0.5106 GB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.2841, allocations: 72.86 kB / 0.5107 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.2841, allocations: 35.98 kB / 0.5107 GB, free: 39.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008247/0.2849, allocations: 1.245 MB / 0.5119 GB, free: 37.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2849, allocations: 0 / 0.5119 GB, free: 37.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001428/0.2863, allocations: 0.9573 MB / 0.5129 GB, free: 36.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002597/0.2889, allocations: 3.319 MB / 0.5161 GB, free: 33.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.2911, allocations: 2.434 MB / 0.5185 GB, free: 31.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2911, allocations: 0 / 0.5185 GB, free: 31.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.2918, allocations: 0.7372 MB / 0.5192 GB, free: 30.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/0.2927, allocations: 371.3 kB / 0.5196 GB, free: 30.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.3094, allocations: 21 MB / 0.5401 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.3108, allocations: 2.483 MB / 0.5425 GB, free: 5.141 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001078/0.3119, allocations: 0.8542 MB / 0.5433 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009056/0.3128, allocations: 1.301 MB / 0.5446 GB, free: 2.98 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3128, allocations: 3.938 kB / 0.5446 GB, free: 2.977 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/0.374, allocations: 52.73 MB / 0.5961 GB, free: 14.58 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/9.082, allocations: 15.8 kB / 0.5961 GB, free: 14.56 MB / 474.7 MB " [Timeout remaining time 651] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.079854873009026] Failed to read output from testmodel.py, exit status != 0: 9.1931731114164 9.204158899 9.155122793 Calling exit ...