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.001224/0.001224, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001409/0.001409, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.02883/0.02883, allocations: 5.48 MB / 318.7 MB, free: 13.52 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.002217/0.002217, allocations: 67.88 kB / 446.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1134, allocations: 54.63 MB / 0.4897 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01228/0.1257, allocations: 8.921 MB / 0.4985 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006922/0.1326, allocations: 3.391 MB / 0.5018 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.1337, allocations: 83.56 kB / 0.5018 GB, free: 464 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006963/0.1407, allocations: 3.011 MB / 0.5048 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.1439, allocations: 0.8777 MB / 0.5056 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.1464, allocations: 1.051 MB / 0.5067 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005284/0.1517, allocations: 4.257 MB / 0.5108 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008797/0.1605, allocations: 6.644 MB / 0.5173 GB, free: 500 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2246/0.3851, allocations: 2.42 MB / 0.5197 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004238/0.3893, allocations: 2.663 MB / 0.5223 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.3912, allocations: 0.7175 MB / 0.523 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.394, allocations: 1.033 MB / 0.524 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.3951, allocations: 1.331 MB / 0.5253 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002746/0.3978, allocations: 2.009 MB / 0.5272 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.4083, allocations: 9.207 MB / 0.5362 GB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4083, allocations: 0 / 0.5362 GB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4083, allocations: 1.156 kB / 0.5362 GB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002671/0.4086, allocations: 0 / 0.5362 GB, free: 11.55 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.0149/0.4235, allocations: 5.356 MB / 0.5415 GB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.4235, allocations: 8.906 kB / 0.5415 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000178/0.4237, allocations: 113.3 kB / 0.5416 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001139/0.4248, allocations: 0.6111 MB / 0.5422 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009838/0.4347, allocations: 1.646 MB / 0.5438 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006623/0.4413, allocations: 2.96 MB / 0.5467 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.4415, allocations: 315.6 kB / 0.547 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.4429, allocations: 415.4 kB / 0.5474 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.454, allocations: 6.707 MB / 0.5539 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.642e-05/0.4541, allocations: 0 / 0.5539 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/0.4545, allocations: 175 kB / 0.5541 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/0.4546, allocations: 211 kB / 0.5543 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009553/0.4642, allocations: 5.658 MB / 0.5598 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03781/0.502, allocations: 19.7 MB / 0.5791 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005279/0.5073, allocations: 2.171 MB / 0.5812 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.5087, allocations: 0.7814 MB / 0.5819 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.5089, allocations: 40.97 kB / 0.582 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/0.5104, allocations: 0.8186 MB / 0.5828 GB, free: 5.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 3.687e-06/0.5104, allocations: 0 / 0.5828 GB, free: 5.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.005188/0.5156, allocations: 2.228 MB / 0.585 GB, free: 3.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.5157, allocations: 149.5 kB / 0.5851 GB, free: 2.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/0.5196, allocations: 1.823 MB / 0.5869 GB, free: 1.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.5197, allocations: 45.7 kB / 0.5869 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002551/0.5222, allocations: 2.035 MB / 0.5889 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/0.5227, allocations: 410 kB / 0.5893 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.5238, allocations: 0.55 MB / 0.5898 GB, free: 14.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.524, allocations: 309 kB / 0.5901 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.5258, allocations: 1.107 MB / 0.5912 GB, free: 12.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.5286, allocations: 2.212 MB / 0.5934 GB, free: 9.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/0.5332, allocations: 3.37 MB / 0.5967 GB, free: 6.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.5332, allocations: 8 kB / 0.5967 GB, free: 6.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006391/0.5396, allocations: 3.522 MB / 0.6001 GB, free: 2.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.5397, allocations: 48.52 kB / 0.6002 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.623e-05/0.5397, allocations: 40 kB / 0.6002 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/0.5403, allocations: 124.8 kB / 0.6003 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.5424, allocations: 0.6075 MB / 0.6009 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.5441, allocations: 1.535 MB / 0.6024 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.5462, allocations: 365.9 kB / 0.6028 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.5465, allocations: 140 kB / 0.6029 GB, free: 15.92 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.00295/0.5494, allocations: 1.716 MB / 0.6046 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.5498, allocations: 166.9 kB / 0.6047 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.5532, allocations: 1.819 MB / 0.6065 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002468/0.5557, allocations: 1.461 MB / 0.6079 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5557, allocations: 0 / 0.6079 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.5557, allocations: 3.984 kB / 0.6079 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008784/0.5645, allocations: 4.839 MB / 0.6127 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.5645, allocations: 7.938 kB / 0.6127 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009893/0.5655, allocations: 206.4 kB / 0.6129 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006396/0.5661, allocations: 289.8 kB / 0.6131 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-05/0.5662, allocations: 31.98 kB / 0.6132 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.5674, allocations: 0.8887 MB / 0.614 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5674, allocations: 7.844 kB / 0.6141 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.572, allocations: 2.67 MB / 0.6167 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007292/0.5727, allocations: 290.6 kB / 0.6169 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.5729, allocations: 31.95 kB / 0.617 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.5737, allocations: 90.91 kB / 0.6171 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.5739, allocations: 72.8 kB / 0.6171 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/0.574, allocations: 39.98 kB / 0.6172 GB, free: 1.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001872/0.5759, allocations: 1.243 MB / 0.6184 GB, free: 15.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5759, allocations: 0 / 0.6184 GB, free: 15.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003141/0.579, allocations: 0.9535 MB / 0.6193 GB, free: 14.94 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.005102/0.5841, allocations: 3.309 MB / 0.6225 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004469/0.5886, allocations: 2.438 MB / 0.6249 GB, free: 9.223 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5886, allocations: 4.125 kB / 0.6249 GB, free: 9.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.5898, allocations: 0.7348 MB / 0.6256 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5916, allocations: 373.3 kB / 0.626 GB, free: 8.141 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03394/0.6255, allocations: 21.06 MB / 0.6466 GB, free: 1.824 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.6286, allocations: 2.486 MB / 0.649 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002074/0.6306, allocations: 0.8581 MB / 0.6498 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/0.6325, allocations: 1.296 MB / 0.6511 GB, free: 13.14 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6325, allocations: 0 / 0.6511 GB, free: 13.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09924/0.7317, allocations: 53.63 MB / 0.7035 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/15.98, allocations: 12.05 kB / 0.7035 GB, free: 7.965 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.616839374997653] Failed to read output from testmodel.py, exit status != 0: 16.17113520298153 16.196655231 15.783026322 Calling exit ...