Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) 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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009076, allocations: 82.73 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02544/0.02544, allocations: 5.29 MB / 341.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.581e-05, allocations: 4 kB / 403.8 MB, free: 62.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07354/0.07359, allocations: 51.61 MB / 455.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4202, allocations: 82.89 MB / 0.5257 GB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.4205, allocations: 66.91 kB / 0.5258 GB, free: 8.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0358/0.4563, allocations: 12.09 MB / 0.5376 GB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.157e-06/0.4564, allocations: 0 / 0.5376 GB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.4564, allocations: 7.938 kB / 0.5376 GB, free: 13.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001172/0.4576, allocations: 0.608 MB / 0.5382 GB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4577, allocations: 12.02 kB / 0.5382 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.4577, allocations: 59.11 kB / 0.5382 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.4578, allocations: 35.53 kB / 0.5383 GB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.4583, allocations: 334.3 kB / 0.5386 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4584, allocations: 18.88 kB / 0.5386 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.4584, allocations: 18.5 kB / 0.5386 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.4589, allocations: 279.6 kB / 0.5389 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4589, allocations: 0 / 0.5389 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.459, allocations: 10.69 kB / 0.5389 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.459, allocations: 8 kB / 0.5389 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.4596, allocations: 298.2 kB / 0.5392 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.4619, allocations: 1.416 MB / 0.5406 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.4623, allocations: 174.6 kB / 0.5407 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.4625, allocations: 110.1 kB / 0.5408 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.4625, allocations: 4 kB / 0.5409 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.4626, allocations: 37.2 kB / 0.5409 GB, free: 10.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/0.4626, allocations: 4 kB / 0.5409 GB, free: 10.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003954/0.463, allocations: 188.2 kB / 0.5411 GB, free: 10.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.463, allocations: 55.62 kB / 0.5411 GB, free: 10.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.4635, allocations: 373.6 kB / 0.5415 GB, free: 10.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.4635, allocations: 25.7 kB / 0.5415 GB, free: 10.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.4636, allocations: 203.7 kB / 0.5417 GB, free: 9.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.4637, allocations: 42.94 kB / 0.5417 GB, free: 9.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.4637, allocations: 10.69 kB / 0.5418 GB, free: 9.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4638, allocations: 340.9 kB / 0.5421 GB, free: 9.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.464, allocations: 103.9 kB / 0.5422 GB, free: 9.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.4642, allocations: 134.2 kB / 0.5423 GB, free: 9.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.4644, allocations: 108 kB / 0.5424 GB, free: 9.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4644, allocations: 0 / 0.5424 GB, free: 9.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008502/0.4653, allocations: 378 kB / 0.5428 GB, free: 9.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4653, allocations: 4 kB / 0.5428 GB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4653, allocations: 0 / 0.5428 GB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004942/0.4658, allocations: 88.31 kB / 0.5429 GB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.4662, allocations: 78.98 kB / 0.5429 GB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.4679, allocations: 1.549 MB / 0.5444 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.4683, allocations: 43.48 kB / 0.5445 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.4684, allocations: 11.98 kB / 0.5445 GB, free: 7.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.927e-05/0.4685, allocations: 108.4 kB / 0.5446 GB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.4685, allocations: 35.58 kB / 0.5446 GB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.4686, allocations: 33.8 kB / 0.5447 GB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4686, allocations: 4 kB / 0.5447 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4687, allocations: 0 / 0.5447 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4687, allocations: 3.938 kB / 0.5447 GB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008714/0.4695, allocations: 0.6839 MB / 0.5453 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4696, allocations: 0 / 0.5453 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4698, allocations: 47.94 kB / 0.5454 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4698, allocations: 0 / 0.5454 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.4699, allocations: 7.984 kB / 0.5454 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.4699, allocations: 4.031 kB / 0.5454 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4699, allocations: 3.938 kB / 0.5454 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.4703, allocations: 310.9 kB / 0.5457 GB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4704, allocations: 132.6 kB / 0.5458 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.4705, allocations: 7.984 kB / 0.5458 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4708, allocations: 27.73 kB / 0.5459 GB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.4708, allocations: 7.984 kB / 0.5459 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.4708, allocations: 3.984 kB / 0.5459 GB, free: 6.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003078/0.4711, allocations: 285.4 kB / 0.5461 GB, free: 5.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4712, allocations: 96 / 0.5461 GB, free: 5.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.4715, allocations: 102.4 kB / 0.5462 GB, free: 5.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007875/0.4723, allocations: 0.9397 MB / 0.5472 GB, free: 4.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.473, allocations: 355.8 kB / 0.5475 GB, free: 4.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.473, allocations: 4 kB / 0.5475 GB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4731, allocations: 75.09 kB / 0.5476 GB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.4736, allocations: 71.41 kB / 0.5476 GB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4746, allocations: 442.1 kB / 0.5481 GB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.475, allocations: 0.7797 MB / 0.5488 GB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.4752, allocations: 38.95 kB / 0.5489 GB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4754, allocations: 111.7 kB / 0.549 GB, free: 3.129 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4754, allocations: 4 kB / 0.549 GB, free: 3.125 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.4956, allocations: 7.561 MB / 0.5564 GB, free: 11.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.4958, allocations: 179.1 kB / 0.5565 GB, free: 11.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.658, allocations: 0 / 0.5565 GB, free: 11.54 MB / 378.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)