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.001569/0.001569, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001654/0.001654, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.514/1.514, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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.02974/0.02974, allocations: 5.395 MB / 302.6 MB, free: 7.367 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.003035/0.003035, allocations: 63.91 kB / 421 MB, free: 21.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1108, allocations: 50.62 MB / 471.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01278/0.1237, allocations: 10.09 MB / 481.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007134/0.1308, allocations: 3.523 MB / 485.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.1328, allocations: 67.81 kB / 485.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008417/0.1412, allocations: 3.237 MB / 488.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.1451, allocations: 1.013 MB / 489.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.1477, allocations: 0.9466 MB / 490.5 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005709/0.1535, allocations: 4.231 MB / 494.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01481/0.1683, allocations: 10.6 MB / 0.4935 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.1717, allocations: 2.369 MB / 0.4958 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.1759, allocations: 2.64 MB / 0.4984 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.1774, allocations: 0.7148 MB / 0.4991 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.1799, allocations: 0.9919 MB / 0.5001 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.1816, allocations: 1.333 MB / 0.5014 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003373/0.185, allocations: 2.599 MB / 0.5039 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2267/0.4118, allocations: 9.127 MB / 0.5128 GB, free: 27.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4118, allocations: 0.6094 kB / 0.5128 GB, free: 27.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4118, allocations: 0.7188 kB / 0.5128 GB, free: 27.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002303/0.4121, allocations: 0 / 0.5128 GB, free: 27.64 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.01613/0.4282, allocations: 5.431 MB / 0.5181 GB, free: 25.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4283, allocations: 9.281 kB / 0.5181 GB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002366/0.4306, allocations: 0.6167 MB / 0.5187 GB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.4415, allocations: 1.611 MB / 0.5203 GB, free: 25.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006681/0.4482, allocations: 2.949 MB / 0.5232 GB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000497/0.4488, allocations: 320.9 kB / 0.5235 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/0.4509, allocations: 419.1 kB / 0.5239 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.4675, allocations: 6.673 MB / 0.5304 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.4676, allocations: 1.375 kB / 0.5304 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008051/0.4684, allocations: 172.8 kB / 0.5306 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/0.4686, allocations: 203.2 kB / 0.5308 GB, free: 22.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.4786, allocations: 5.621 MB / 0.5363 GB, free: 19.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.5083, allocations: 22.53 MB / 0.5583 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006645/0.515, allocations: 4.373 MB / 0.5625 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.5166, allocations: 0.8317 MB / 0.5634 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.5168, allocations: 107.8 kB / 0.5635 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/0.5182, allocations: 0.7815 MB / 0.5642 GB, free: 8.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=106): time 4.088e-06/0.5182, allocations: 0 / 0.5642 GB, free: 8.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.005237/0.5235, allocations: 2.239 MB / 0.5664 GB, free: 5.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.5236, allocations: 156.3 kB / 0.5666 GB, free: 5.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.5265, allocations: 1.819 MB / 0.5683 GB, free: 3.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.5266, allocations: 41.7 kB / 0.5684 GB, free: 3.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.5286, allocations: 2.038 MB / 0.5704 GB, free: 1.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.529, allocations: 401.2 kB / 0.5707 GB, free: 1.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008645/0.5299, allocations: 0.5475 MB / 0.5713 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.53, allocations: 301.1 kB / 0.5716 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.5319, allocations: 1.078 MB / 0.5726 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/0.5348, allocations: 2.182 MB / 0.5748 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004771/0.5395, allocations: 3.365 MB / 0.578 GB, free: 9.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.273e-05/0.5396, allocations: 14.62 kB / 0.5781 GB, free: 9.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006362/0.5459, allocations: 3.481 MB / 0.5815 GB, free: 5.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.546, allocations: 53.69 kB / 0.5815 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.526e-05/0.5461, allocations: 36 kB / 0.5815 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.5467, allocations: 124.9 kB / 0.5817 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.5488, allocations: 0.6052 MB / 0.5822 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.5507, allocations: 1.647 MB / 0.5839 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.5528, allocations: 377.1 kB / 0.5842 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.5531, allocations: 136 kB / 0.5843 GB, free: 2.719 MB / 414.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.002711/0.5558, allocations: 1.712 MB / 0.586 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.5562, allocations: 166.9 kB / 0.5862 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.5597, allocations: 1.783 MB / 0.5879 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002572/0.5623, allocations: 1.415 MB / 0.5893 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5623, allocations: 4 kB / 0.5893 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.5623, allocations: 7.984 kB / 0.5893 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.5728, allocations: 5.128 MB / 0.5943 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5728, allocations: 3.938 kB / 0.5943 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.5737, allocations: 202.3 kB / 0.5945 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006487/0.5744, allocations: 265.1 kB / 0.5948 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/0.5745, allocations: 27.98 kB / 0.5948 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.5756, allocations: 0.8266 MB / 0.5956 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5757, allocations: 3.75 kB / 0.5956 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005853/0.5815, allocations: 2.74 MB / 0.5983 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009052/0.5824, allocations: 371.6 kB / 0.5986 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.5827, allocations: 23.95 kB / 0.5987 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/0.5836, allocations: 87.84 kB / 0.5987 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.5838, allocations: 68.97 kB / 0.5988 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.5839, allocations: 35.98 kB / 0.5988 GB, free: 3.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002003/0.5859, allocations: 1.245 MB / 0.6001 GB, free: 2.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5859, allocations: 0 / 0.6001 GB, free: 2.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002927/0.5888, allocations: 0.9535 MB / 0.601 GB, free: 1.555 MB / 430.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.0066/0.5954, allocations: 3.392 MB / 0.6043 GB, free: 14.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004857/0.6003, allocations: 2.46 MB / 0.6067 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6004, allocations: 0 / 0.6067 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.6019, allocations: 0.7855 MB / 0.6075 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.6042, allocations: 366 kB / 0.6078 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03726/0.6415, allocations: 20.87 MB / 0.6282 GB, free: 4.559 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/0.6449, allocations: 3.021 MB / 0.6312 GB, free: 1.508 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0023/0.6473, allocations: 0.8535 MB / 0.632 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/0.6496, allocations: 1.305 MB / 0.6333 GB, free: 15.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6496, allocations: 0 / 0.6333 GB, free: 15.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.7558, allocations: 51.49 MB / 0.6835 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.28, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5137 GB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 18.16829286608845] Failed to read output from testmodel.py, exit status != 0: 15.39296214201022 15.406037974 14.991566815 Calling exit ...