Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.001331/0.001331, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001475/0.001475, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.996 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.03017/0.03017, allocations: 5.492 MB / 317.9 MB, free: 13.72 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.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",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.00265/0.00265, allocations: 71.83 kB / 446.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1414, allocations: 54.62 MB / 0.4891 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.01258/0.154, allocations: 6.432 MB / 0.4954 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007043/0.1611, allocations: 2.651 MB / 0.4979 GB, free: 4.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009778/0.162, allocations: 19.94 kB / 0.498 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003885/0.1659, allocations: 1.139 MB / 0.4991 GB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.1686, allocations: 0.6253 MB / 0.4997 GB, free: 2.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1699, allocations: 359.3 kB / 0.5 GB, free: 1.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.1722, allocations: 1.164 MB / 0.5012 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.1741, allocations: 0.8755 MB / 0.502 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.1749, allocations: 490.3 kB / 0.5025 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008929/0.1758, allocations: 0.5797 MB / 0.5031 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.176, allocations: 128 kB / 0.5032 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.1767, allocations: 295.8 kB / 0.5035 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.1769, allocations: 255.1 kB / 0.5037 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.1774, allocations: 0.5521 MB / 0.5042 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.1794, allocations: 1.494 MB / 0.5057 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1794, allocations: 3.984 kB / 0.5057 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1794, allocations: 4 kB / 0.5057 GB, free: 12.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.1794, allocations: 0 / 0.5057 GB, free: 12.06 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.00423/0.1836, allocations: 1.488 MB / 0.5072 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1837, allocations: 12.03 kB / 0.5072 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.1839, allocations: 140 kB / 0.5073 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.186, allocations: 352 kB / 0.5076 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.1877, allocations: 0.6136 MB / 0.5082 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.1878, allocations: 77.94 kB / 0.5083 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.188, allocations: 91.95 kB / 0.5084 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.1899, allocations: 1.001 MB / 0.5094 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.1899, allocations: 0 / 0.5094 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.19, allocations: 40 kB / 0.5094 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.19, allocations: 24 kB / 0.5094 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.1919, allocations: 0.8471 MB / 0.5103 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006489/0.1983, allocations: 3.543 MB / 0.5137 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.2002, allocations: 0.6147 MB / 0.5143 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.2008, allocations: 214 kB / 0.5145 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.266e-05/0.2009, allocations: 19.92 kB / 0.5145 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.2015, allocations: 325.8 kB / 0.5149 GB, free: 2.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 1.843e-06/0.2015, allocations: 3.938 kB / 0.5149 GB, free: 2.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002949/0.2045, allocations: 0.8499 MB / 0.5157 GB, free: 1.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.2046, allocations: 144.5 kB / 0.5158 GB, free: 1.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009/0.2055, allocations: 0.4941 MB / 0.5163 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.2056, allocations: 37.7 kB / 0.5164 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.206, allocations: 471.7 kB / 0.5168 GB, free: 352 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.2062, allocations: 166.6 kB / 0.517 GB, free: 184 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2064, allocations: 154.5 kB / 0.5171 GB, free: 24 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2125/0.4189, allocations: 356.9 kB / 0.5174 GB, free: 32.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.4197, allocations: 240.3 kB / 0.5177 GB, free: 32.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.4203, allocations: 424.5 kB / 0.5181 GB, free: 32.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.4213, allocations: 0.7039 MB / 0.5188 GB, free: 31.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.4213, allocations: 0 / 0.5188 GB, free: 31.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001875/0.4232, allocations: 0.8642 MB / 0.5196 GB, free: 31.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.4233, allocations: 33.52 kB / 0.5196 GB, free: 31.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.4233, allocations: 5.938 kB / 0.5197 GB, free: 31.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.4238, allocations: 85.16 kB / 0.5197 GB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.4245, allocations: 170.2 kB / 0.5199 GB, free: 31.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.4259, allocations: 1.468 MB / 0.5213 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.4267, allocations: 94.75 kB / 0.5214 GB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.4267, allocations: 32.41 kB / 0.5214 GB, free: 30.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0004637/0.4272, allocations: 274.7 kB / 0.5217 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.4273, allocations: 59.19 kB / 0.5218 GB, free: 30.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.4289, allocations: 0.666 MB / 0.5224 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.4289, allocations: 4.906 kB / 0.5224 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4289, allocations: 4.281 kB / 0.5224 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.4289, allocations: 6.953 kB / 0.5224 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.4318, allocations: 1.524 MB / 0.5239 GB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.4318, allocations: 1.188 kB / 0.5239 GB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.4322, allocations: 72.7 kB / 0.524 GB, free: 29.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006322/0.4328, allocations: 259.7 kB / 0.5242 GB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.4328, allocations: 15.88 kB / 0.5243 GB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/0.4338, allocations: 0.8292 MB / 0.5251 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4338, allocations: 1.781 kB / 0.5251 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.4359, allocations: 1.015 MB / 0.5261 GB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.4361, allocations: 104.4 kB / 0.5262 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.4362, allocations: 11.19 kB / 0.5262 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.4367, allocations: 37.39 kB / 0.5262 GB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.4368, allocations: 30.61 kB / 0.5262 GB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.4368, allocations: 17.7 kB / 0.5262 GB, free: 28.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004405/0.4372, allocations: 347.3 kB / 0.5266 GB, free: 28.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4372, allocations: 1.344 kB / 0.5266 GB, free: 28.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009899/0.4382, allocations: 245.5 kB / 0.5268 GB, free: 28.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002525/0.4408, allocations: 1.611 MB / 0.5284 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.4424, allocations: 0.7246 MB / 0.5291 GB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4424, allocations: 0 / 0.5291 GB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.443, allocations: 284 kB / 0.5294 GB, free: 27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.4437, allocations: 104.8 kB / 0.5295 GB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009078/0.4527, allocations: 5.532 MB / 0.5349 GB, free: 23.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.4532, allocations: 0.9463 MB / 0.5358 GB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00044/0.4536, allocations: 84.72 kB / 0.5359 GB, free: 22.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.454, allocations: 301.7 kB / 0.5362 GB, free: 22.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.084e-06/0.454, allocations: 3.938 kB / 0.5362 GB, free: 22.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/0.4994, allocations: 15.19 MB / 0.551 GB, free: 15.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/15.87, allocations: 12.16 kB / 0.551 GB, free: 15.31 MB / 382.1 MB " [Timeout remaining time 644] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP_fmu --startTime=0 --stopTime=300 --stepSize=0.1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.710034430027008] Failed to read output from testmodel.py, exit status != 0: 16.0025509998668 16.019546318 15.836480472 Calling exit ...