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.001762/0.001762, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002027/0.002027, allocations: 219.2 kB / 23.05 MB, free: 5.074 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.02873/0.02873, allocations: 5.492 MB / 318.7 MB, free: 13.74 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: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP3,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3",fmuType="cs",version="2.0",platforms={"static"}) [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.001941/0.001941, allocations: 59.91 kB / 447 MB, free: 3.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 54.61 MB / 0.4898 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01284/0.1172, allocations: 10.22 MB / 0.4998 GB, free: 2.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007487/0.1247, allocations: 3.62 MB / 0.5034 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.1265, allocations: 79.62 kB / 0.5034 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008001/0.1345, allocations: 3.269 MB / 0.5066 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.1383, allocations: 0.8971 MB / 0.5075 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.1413, allocations: 1.101 MB / 0.5086 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006635/0.148, allocations: 4.258 MB / 0.5127 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2169/0.3648, allocations: 6.633 MB / 0.5192 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.3685, allocations: 2.426 MB / 0.5216 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004708/0.3732, allocations: 2.661 MB / 0.5242 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00207/0.3752, allocations: 0.7182 MB / 0.5249 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.3781, allocations: 1.045 MB / 0.5259 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.3793, allocations: 1.328 MB / 0.5272 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.3826, allocations: 2.602 MB / 0.5297 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3927, allocations: 9.164 MB / 0.5387 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3927, allocations: 1.156 kB / 0.5387 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3927, allocations: 3.938 kB / 0.5387 GB, free: 7.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002352/0.393, allocations: 0 / 0.5387 GB, free: 7.801 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.0157/0.4087, allocations: 5.362 MB / 0.5439 GB, free: 4.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4087, allocations: 13.61 kB / 0.5439 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001479/0.4089, allocations: 112.1 kB / 0.544 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/0.4103, allocations: 0.6088 MB / 0.5446 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009789/0.4201, allocations: 1.64 MB / 0.5462 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006851/0.427, allocations: 2.954 MB / 0.5491 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.4272, allocations: 315.5 kB / 0.5494 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/0.4287, allocations: 420.5 kB / 0.5498 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.4455, allocations: 6.673 MB / 0.5563 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/0.4456, allocations: 6.797 kB / 0.5564 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007127/0.4463, allocations: 173.3 kB / 0.5565 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002173/0.4465, allocations: 205.1 kB / 0.5567 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.4599, allocations: 5.622 MB / 0.5622 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04334/0.5033, allocations: 21.42 MB / 0.5831 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.5085, allocations: 2.156 MB / 0.5852 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.5099, allocations: 0.7587 MB / 0.586 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.51, allocations: 44.39 kB / 0.586 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.5114, allocations: 0.7856 MB / 0.5868 GB, free: 15.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 2.655e-06/0.5114, allocations: 0 / 0.5868 GB, free: 15.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005036/0.5164, allocations: 2.138 MB / 0.5889 GB, free: 13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.5165, allocations: 149.5 kB / 0.589 GB, free: 12.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.5198, allocations: 1.823 MB / 0.5908 GB, free: 10.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/0.52, allocations: 41.7 kB / 0.5908 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/0.5223, allocations: 2.037 MB / 0.5928 GB, free: 8.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.5228, allocations: 410.4 kB / 0.5932 GB, free: 8.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009552/0.5237, allocations: 0.5501 MB / 0.5937 GB, free: 7.945 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5239, allocations: 301.1 kB / 0.594 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.5258, allocations: 1.078 MB / 0.5951 GB, free: 6.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.5286, allocations: 2.177 MB / 0.5972 GB, free: 3.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00517/0.5338, allocations: 3.372 MB / 0.6005 GB, free: 144 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.692e-05/0.5338, allocations: 12 kB / 0.6005 GB, free: 132 kB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007382/0.5412, allocations: 3.499 MB / 0.6039 GB, free: 12.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/0.5413, allocations: 51.39 kB / 0.604 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-05/0.5413, allocations: 40 kB / 0.604 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/0.5419, allocations: 124.9 kB / 0.6041 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.5441, allocations: 0.6046 MB / 0.6047 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.5459, allocations: 1.54 MB / 0.6062 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.5482, allocations: 365.8 kB / 0.6066 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.5485, allocations: 136 kB / 0.6067 GB, free: 9.934 MB / 446.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.003154/0.5517, allocations: 1.718 MB / 0.6084 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.552, allocations: 166.9 kB / 0.6085 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/0.5555, allocations: 1.752 MB / 0.6103 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002521/0.5581, allocations: 1.399 MB / 0.6116 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5581, allocations: 3.938 kB / 0.6116 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.5581, allocations: 3.984 kB / 0.6116 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009948/0.568, allocations: 4.954 MB / 0.6165 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.568, allocations: 0 / 0.6165 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/0.5689, allocations: 210.7 kB / 0.6167 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006166/0.5695, allocations: 270.7 kB / 0.6169 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/0.5696, allocations: 27.98 kB / 0.617 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.5708, allocations: 0.8309 MB / 0.6178 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5708, allocations: 0 / 0.6178 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/0.5755, allocations: 2.575 MB / 0.6203 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/0.5764, allocations: 290.5 kB / 0.6206 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.5767, allocations: 24 kB / 0.6206 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/0.5775, allocations: 87.91 kB / 0.6207 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5777, allocations: 72.86 kB / 0.6207 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.5778, allocations: 35.98 kB / 0.6208 GB, free: 11.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.5798, allocations: 1.241 MB / 0.622 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5798, allocations: 0 / 0.622 GB, free: 10.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00322/0.583, allocations: 0.9574 MB / 0.6229 GB, free: 9.242 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.005557/0.5886, allocations: 3.211 MB / 0.626 GB, free: 6.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004622/0.5932, allocations: 2.372 MB / 0.6284 GB, free: 3.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5932, allocations: 0 / 0.6284 GB, free: 3.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.5946, allocations: 0.7037 MB / 0.6291 GB, free: 3.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.5967, allocations: 367.3 kB / 0.6294 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/0.6367, allocations: 20.95 MB / 0.6499 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003569/0.6403, allocations: 3.025 MB / 0.6528 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002241/0.6425, allocations: 0.8568 MB / 0.6537 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/0.6447, allocations: 1.3 MB / 0.6549 GB, free: 7.285 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6447, allocations: 0 / 0.6549 GB, free: 7.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.75, allocations: 54.25 MB / 0.7079 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.71, allocations: 8.062 kB / 0.7079 GB, free: 1.332 MB / 0.5294 GB " [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 os._exit(0), Time elapsed: 18.399620614014566] Failed to read output from testmodel.py, exit status != 0: 15.907408353989013 15.931153065 15.533871517 Calling exit ...