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.001376/0.001376, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001712/0.001712, allocations: 216 kB / 22.26 MB, free: 5.117 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.004 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.0313/0.0313, allocations: 5.477 MB / 317.9 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="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: 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.002894/0.002894, allocations: 71.83 kB / 446.2 MB, free: 3.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1275, allocations: 54.61 MB / 0.4891 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01317/0.1407, allocations: 10.23 MB / 0.4991 GB, free: 2.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007194/0.1479, allocations: 3.613 MB / 0.5026 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.1494, allocations: 79.56 kB / 0.5027 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007672/0.1571, allocations: 3.268 MB / 0.5059 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.1603, allocations: 0.8894 MB / 0.5067 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.1631, allocations: 1.109 MB / 0.5078 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005468/0.1686, allocations: 4.262 MB / 0.512 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2312/0.3998, allocations: 6.634 MB / 0.5184 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.403, allocations: 2.42 MB / 0.5208 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004239/0.4072, allocations: 2.665 MB / 0.5234 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001792/0.409, allocations: 0.7181 MB / 0.5241 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.412, allocations: 1.039 MB / 0.5251 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.4134, allocations: 1.33 MB / 0.5264 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003734/0.4172, allocations: 2.606 MB / 0.529 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.4299, allocations: 9.163 MB / 0.5379 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4299, allocations: 0 / 0.5379 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4299, allocations: 3.938 kB / 0.5379 GB, free: 7.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002801/0.4302, allocations: 1.156 kB / 0.5379 GB, free: 7.574 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.01844/0.4486, allocations: 5.365 MB / 0.5432 GB, free: 4.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.4487, allocations: 12.47 kB / 0.5432 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001169/0.4499, allocations: 0.6097 MB / 0.5438 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009393/0.4593, allocations: 1.634 MB / 0.5454 GB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/0.4651, allocations: 2.951 MB / 0.5482 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.4653, allocations: 317.7 kB / 0.5485 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007869/0.466, allocations: 415.4 kB / 0.5489 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.4781, allocations: 6.675 MB / 0.5555 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-05/0.4782, allocations: 3.953 kB / 0.5555 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004482/0.4787, allocations: 180.4 kB / 0.5556 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.4788, allocations: 207.5 kB / 0.5558 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.4896, allocations: 5.628 MB / 0.5613 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.5306, allocations: 21.4 MB / 0.5822 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.5357, allocations: 2.159 MB / 0.5843 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.5371, allocations: 0.7577 MB / 0.5851 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.5372, allocations: 43.61 kB / 0.5851 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.5385, allocations: 0.7875 MB / 0.5859 GB, free: 15.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 2.825e-06/0.5385, allocations: 0 / 0.5859 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.00506/0.5435, allocations: 2.138 MB / 0.588 GB, free: 13.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5437, allocations: 145.5 kB / 0.5881 GB, free: 12.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.5466, allocations: 1.831 MB / 0.5899 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.964e-05/0.5467, allocations: 41.7 kB / 0.5899 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.5488, allocations: 2.039 MB / 0.5919 GB, free: 9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.5493, allocations: 406.1 kB / 0.5923 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009033/0.5502, allocations: 0.5475 MB / 0.5929 GB, free: 8.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5503, allocations: 305.1 kB / 0.5931 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.5522, allocations: 1.082 MB / 0.5942 GB, free: 6.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/0.555, allocations: 2.179 MB / 0.5963 GB, free: 3.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/0.5599, allocations: 3.365 MB / 0.5996 GB, free: 256 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/0.5599, allocations: 12 kB / 0.5996 GB, free: 244 kB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006382/0.5663, allocations: 3.496 MB / 0.603 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.5664, allocations: 53.64 kB / 0.6031 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.377e-05/0.5664, allocations: 36 kB / 0.6031 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.567, allocations: 128.9 kB / 0.6033 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.5692, allocations: 0.6097 MB / 0.6038 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.571, allocations: 1.536 MB / 0.6053 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.5731, allocations: 365.8 kB / 0.6057 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.5734, allocations: 140 kB / 0.6058 GB, free: 10.03 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.003161/0.5765, allocations: 1.715 MB / 0.6075 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.5769, allocations: 166.9 kB / 0.6077 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.5805, allocations: 1.751 MB / 0.6094 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002696/0.5832, allocations: 1.394 MB / 0.6107 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5832, allocations: 0 / 0.6107 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.5832, allocations: 3.984 kB / 0.6107 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.5942, allocations: 4.956 MB / 0.6156 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.5942, allocations: 0 / 0.6156 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/0.5951, allocations: 209.6 kB / 0.6158 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006559/0.5958, allocations: 264.5 kB / 0.616 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.852e-05/0.5959, allocations: 31.98 kB / 0.6161 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.5971, allocations: 0.827 MB / 0.6169 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5971, allocations: 4 kB / 0.6169 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.6021, allocations: 2.578 MB / 0.6194 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.6032, allocations: 290.5 kB / 0.6197 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.6036, allocations: 28 kB / 0.6197 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6048, allocations: 79.91 kB / 0.6198 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.6049, allocations: 84.52 kB / 0.6198 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/0.605, allocations: 35.98 kB / 0.6199 GB, free: 11.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002507/0.6075, allocations: 1.237 MB / 0.6211 GB, free: 10.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6075, allocations: 0 / 0.6211 GB, free: 10.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0034/0.6109, allocations: 0.9613 MB / 0.622 GB, free: 9.336 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.00568/0.6166, allocations: 3.213 MB / 0.6252 GB, free: 6.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004849/0.6215, allocations: 2.369 MB / 0.6275 GB, free: 3.809 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6215, allocations: 0 / 0.6275 GB, free: 3.809 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.6228, allocations: 0.7062 MB / 0.6282 GB, free: 3.117 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.625, allocations: 373.1 kB / 0.6285 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04167/0.6666, allocations: 20.95 MB / 0.649 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004745/0.6714, allocations: 3.021 MB / 0.6519 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002416/0.6738, allocations: 0.8572 MB / 0.6528 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/0.6762, allocations: 1.3 MB / 0.654 GB, free: 7.383 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6762, allocations: 0 / 0.654 GB, free: 7.383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.7877, allocations: 54.21 MB / 0.707 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/16.8, allocations: 4.062 kB / 0.707 GB, free: 1.449 MB / 0.5294 GB " [Timeout remaining time 643] (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: 19.97792613808997] Failed to read output from testmodel.py, exit status != 0: 16.94436502386816 16.960590241 16.527288522 Calling exit ...