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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02852/0.02852, allocations: 5.46 MB / 308.1 MB, free: 3.137 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003097/0.003097, allocations: 63.91 kB / 432.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2593, allocations: 53.4 MB / 485.5 MB, free: 27.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01011/0.2694, allocations: 10.15 MB / 495.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.2763, allocations: 3.55 MB / 499.2 MB, free: 17.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.2779, allocations: 66.19 kB / 499.2 MB, free: 17.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006497/0.2844, allocations: 3.269 MB / 0.4907 GB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.2878, allocations: 1.025 MB / 0.4917 GB, free: 15.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.29, allocations: 0.9554 MB / 0.4926 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004647/0.2947, allocations: 4.239 MB / 0.4968 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.3052, allocations: 7.988 MB / 0.5046 GB, free: 8.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.3082, allocations: 2.368 MB / 0.5069 GB, free: 6.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.312, allocations: 2.664 MB / 0.5095 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.3133, allocations: 0.721 MB / 0.5102 GB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.3155, allocations: 0.988 MB / 0.5112 GB, free: 3.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008238/0.3163, allocations: 1.337 MB / 0.5125 GB, free: 1.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002689/0.319, allocations: 2.6 MB / 0.515 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.3296, allocations: 9.132 MB / 0.5239 GB, free: 6.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3296, allocations: 0 / 0.5239 GB, free: 6.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3296, allocations: 0 / 0.5239 GB, free: 6.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000224/0.3298, allocations: 0 / 0.5239 GB, free: 6.18 MB / 382.1 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.01466/0.3445, allocations: 5.429 MB / 0.5292 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.3445, allocations: 12.03 kB / 0.5292 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001262/0.3458, allocations: 0.6127 MB / 0.5298 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009476/0.3553, allocations: 1.608 MB / 0.5314 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007454/0.3627, allocations: 2.954 MB / 0.5343 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.363, allocations: 316.5 kB / 0.5346 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.3643, allocations: 416 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.3795, allocations: 6.664 MB / 0.5415 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.286e-05/0.3796, allocations: 7.891 kB / 0.5415 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004438/0.38, allocations: 172 kB / 0.5417 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.3803, allocations: 211.9 kB / 0.5419 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3917, allocations: 5.621 MB / 0.5474 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04175/0.4335, allocations: 22.54 MB / 0.5694 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006386/0.4399, allocations: 4.265 MB / 0.5735 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.4413, allocations: 0.7574 MB / 0.5743 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.4415, allocations: 114 kB / 0.5744 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.4429, allocations: 0.7746 MB / 0.5751 GB, free: 232 kB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 3.807e-06/0.4429, allocations: 0 / 0.5751 GB, free: 232 kB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005274/0.4482, allocations: 2.229 MB / 0.5773 GB, free: 13.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.4483, allocations: 157.4 kB / 0.5775 GB, free: 13.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003813/0.4522, allocations: 1.819 MB / 0.5792 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.4523, allocations: 41.7 kB / 0.5793 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.4545, allocations: 2.034 MB / 0.5813 GB, free: 9.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/0.455, allocations: 400.8 kB / 0.5817 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.4561, allocations: 0.5436 MB / 0.5822 GB, free: 8.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4563, allocations: 305.1 kB / 0.5825 GB, free: 8.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4583, allocations: 1.086 MB / 0.5835 GB, free: 7.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.4613, allocations: 2.173 MB / 0.5857 GB, free: 4.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/0.4664, allocations: 3.372 MB / 0.589 GB, free: 0.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-05/0.4664, allocations: 12 kB / 0.589 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007031/0.4734, allocations: 3.475 MB / 0.5924 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.718e-05/0.4735, allocations: 53.64 kB / 0.5924 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.258e-05/0.4736, allocations: 36 kB / 0.5924 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.4742, allocations: 128.9 kB / 0.5926 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.4764, allocations: 0.6122 MB / 0.5932 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.4783, allocations: 1.64 MB / 0.5948 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.4806, allocations: 373.8 kB / 0.5951 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003247/0.4809, allocations: 136 kB / 0.5953 GB, free: 10.29 MB / 462.1 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.003238/0.4842, allocations: 1.713 MB / 0.5969 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/0.4846, allocations: 170.9 kB / 0.5971 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.4886, allocations: 1.743 MB / 0.5988 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002747/0.4914, allocations: 1.387 MB / 0.6001 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4914, allocations: 0 / 0.6001 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.4914, allocations: 7.969 kB / 0.6002 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.5044, allocations: 5.093 MB / 0.6051 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.5044, allocations: 8 kB / 0.6051 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2241/0.7285, allocations: 205.4 kB / 0.6053 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00073/0.7292, allocations: 253.2 kB / 0.6056 GB, free: 102.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.7293, allocations: 29.69 kB / 0.6056 GB, free: 102.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009779/0.7303, allocations: 0.8406 MB / 0.6064 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.7303, allocations: 6.281 kB / 0.6064 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005692/0.736, allocations: 2.696 MB / 0.6091 GB, free: 101.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000892/0.7369, allocations: 377.4 kB / 0.6094 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.7371, allocations: 22.05 kB / 0.6094 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.738, allocations: 87.8 kB / 0.6095 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.7381, allocations: 67.69 kB / 0.6096 GB, free: 101.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.7382, allocations: 36 kB / 0.6096 GB, free: 101.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001855/0.74, allocations: 1.24 MB / 0.6108 GB, free: 101 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.74, allocations: 0 / 0.6108 GB, free: 101 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002558/0.7426, allocations: 0.9584 MB / 0.6118 GB, free: 100.8 MB / 462.1 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.005706/0.7483, allocations: 3.341 MB / 0.615 GB, free: 99.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004081/0.7524, allocations: 2.375 MB / 0.6174 GB, free: 98.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7524, allocations: 1.062 kB / 0.6174 GB, free: 98.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.7537, allocations: 0.7003 MB / 0.618 GB, free: 97.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.7555, allocations: 380.3 kB / 0.6184 GB, free: 97.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03314/0.7887, allocations: 20.86 MB / 0.6388 GB, free: 86.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/0.7917, allocations: 3.024 MB / 0.6417 GB, free: 84.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002026/0.7937, allocations: 0.8622 MB / 0.6426 GB, free: 84.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/0.795, allocations: 1.291 MB / 0.6438 GB, free: 83.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.143e-06/0.795, allocations: 0 / 0.6438 GB, free: 83.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07873/0.8738, allocations: 51.84 MB / 0.6945 GB, free: 37.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.89, allocations: 7.109 kB / 0.6945 GB, free: 37.03 MB / 462.1 MB " [Timeout remaining time 644] (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: 18.930823483038694] Failed to read output from testmodel.py, exit status != 0: 16.011853291187435 16.025726744 15.692945938 Calling exit ...