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.0007972/0.0007972, 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.0008579/0.0008579, 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.9038/0.9038, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.01769/0.01769, allocations: 4.217 MB / 263.4 MB, free: 9.141 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 1.313e-06/1.313e-06, allocations: 0 / 391.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.869e-05, allocations: 6.281 kB / 391.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.007176/0.007195, allocations: 8.948 MB / 400.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.01179, allocations: 3.406 MB / 404.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.01243, allocations: 79.62 kB / 404.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.01574, allocations: 3.168 MB / 407.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.01739, allocations: 0.8966 MB / 408.2 MB, free: 5.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.01876, allocations: 1.07 MB / 409.3 MB, free: 4.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.02179, allocations: 4.377 MB / 413.6 MB, free: 44 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006135/0.02792, allocations: 6.574 MB / 420.2 MB, free: 9.375 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.03134, allocations: 3.631 MB / 423.9 MB, free: 5.738 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.03408, allocations: 2.277 MB / 426.1 MB, free: 3.457 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.0351, allocations: 0.7148 MB / 426.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.03638, allocations: 1.023 MB / 427.9 MB, free: 1.719 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007005/0.03708, allocations: 1.352 MB / 429.2 MB, free: 372 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.03834, allocations: 1.735 MB / 431 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006167/0.0445, allocations: 9.319 MB / 440.3 MB, free: 5.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.04451, allocations: 0 / 440.3 MB, free: 5.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.04451, allocations: 0 / 440.3 MB, free: 5.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001397/0.04465, allocations: 0 / 440.3 MB, free: 5.281 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.1516/0.1962, allocations: 5.322 MB / 445.6 MB, free: 87.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1963, allocations: 9.844 kB / 445.6 MB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001417/0.1977, allocations: 0.6063 MB / 446.2 MB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.2025, allocations: 1.646 MB / 447.9 MB, free: 87.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.2056, allocations: 2.947 MB / 450.8 MB, free: 86.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.2058, allocations: 322.7 kB / 451.1 MB, free: 85.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/0.2062, allocations: 415.8 kB / 451.5 MB, free: 85.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006289/0.2125, allocations: 6.7 MB / 458.2 MB, free: 83.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/0.2126, allocations: 7.125 kB / 458.2 MB, free: 83.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.2129, allocations: 173.1 kB / 458.4 MB, free: 82.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.213, allocations: 209.3 kB / 458.6 MB, free: 82.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00518/0.2182, allocations: 5.641 MB / 464.2 MB, free: 80.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/0.2329, allocations: 19.71 MB / 484 MB, free: 69.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.2356, allocations: 2.166 MB / 486.1 MB, free: 68.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.2364, allocations: 0.7768 MB / 486.9 MB, free: 68.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-05/0.2365, allocations: 45.36 kB / 486.9 MB, free: 68.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008033/0.2373, allocations: 0.8144 MB / 487.8 MB, free: 68.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 2.565e-06/0.2373, allocations: 0 / 487.8 MB, free: 68.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.003162/0.2405, allocations: 2.234 MB / 490 MB, free: 67.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.2405, allocations: 153.6 kB / 490.1 MB, free: 67.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.2424, allocations: 1.897 MB / 492 MB, free: 66.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.2424, allocations: 42.92 kB / 492.1 MB, free: 66.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009118/0.2433, allocations: 2.03 MB / 494.1 MB, free: 64.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.2435, allocations: 403.2 kB / 494.5 MB, free: 64.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005306/0.244, allocations: 0.5425 MB / 495 MB, free: 64.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.697e-05/0.2441, allocations: 305.1 kB / 495.3 MB, free: 63.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.2452, allocations: 1.105 MB / 496.5 MB, free: 63.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.2467, allocations: 2.207 MB / 498.7 MB, free: 61.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.2489, allocations: 3.375 MB / 0.4903 GB, free: 59.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.2489, allocations: 8.75 kB / 0.4903 GB, free: 59.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.003026/0.252, allocations: 3.521 MB / 0.4937 GB, free: 56.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.252, allocations: 49.12 kB / 0.4938 GB, free: 56.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.252, allocations: 40 kB / 0.4938 GB, free: 56.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/0.2523, allocations: 125.8 kB / 0.4939 GB, free: 56.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.2533, allocations: 0.6113 MB / 0.4945 GB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007813/0.254, allocations: 1.528 MB / 0.496 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.255, allocations: 366.5 kB / 0.4964 GB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.2551, allocations: 135.2 kB / 0.4965 GB, free: 53.93 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.001307/0.2565, allocations: 1.722 MB / 0.4982 GB, free: 52.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.2566, allocations: 166.9 kB / 0.4983 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.2583, allocations: 1.816 MB / 0.5001 GB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00117/0.2594, allocations: 1.465 MB / 0.5015 GB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2594, allocations: 0 / 0.5015 GB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2594, allocations: 7.922 kB / 0.5015 GB, free: 48.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/0.2636, allocations: 4.83 MB / 0.5063 GB, free: 43.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2637, allocations: 7.938 kB / 0.5063 GB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.2641, allocations: 207.7 kB / 0.5065 GB, free: 43.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.2644, allocations: 296.8 kB / 0.5067 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.2644, allocations: 31.98 kB / 0.5068 GB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004648/0.2649, allocations: 0.8967 MB / 0.5076 GB, free: 42.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2649, allocations: 3.938 kB / 0.5077 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.2669, allocations: 2.662 MB / 0.5103 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.2672, allocations: 294.6 kB / 0.5105 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.2674, allocations: 28 kB / 0.5106 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.2677, allocations: 75.91 kB / 0.5106 GB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.2678, allocations: 76.92 kB / 0.5107 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.2679, allocations: 39.98 kB / 0.5107 GB, free: 39.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008056/0.2687, allocations: 1.237 MB / 0.512 GB, free: 37.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2687, allocations: 0 / 0.512 GB, free: 37.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00139/0.2701, allocations: 0.9573 MB / 0.5129 GB, free: 37 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.002376/0.2724, allocations: 3.317 MB / 0.5161 GB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.2744, allocations: 2.434 MB / 0.5185 GB, free: 31.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2744, allocations: 0 / 0.5185 GB, free: 31.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.275, allocations: 0.7297 MB / 0.5192 GB, free: 30.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.2758, allocations: 371.9 kB / 0.5196 GB, free: 30.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.2904, allocations: 21.01 MB / 0.5401 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.2917, allocations: 2.479 MB / 0.5425 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.2927, allocations: 0.8581 MB / 0.5433 GB, free: 4.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008796/0.2936, allocations: 1.301 MB / 0.5446 GB, free: 2.996 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2936, allocations: 3.938 kB / 0.5446 GB, free: 2.992 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05386/0.3475, allocations: 52.73 MB / 0.5961 GB, free: 14.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/9.014, allocations: 7.859 kB / 0.5961 GB, free: 14.58 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3_fmu --startTime=0 --stopTime=300 --stepSize=0.1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.972463985905051] Failed to read output from testmodel.py, exit status != 0: 9.122425006702542 9.131720116 9.085457203 Calling exit ...