Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.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.SimpleCellTemperatureCharacteristic,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellTemperatureCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellTemperatureCharacteristic",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.001438/0.001438, allocations: 175.2 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.502/1.502, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0009016/0.0009016, allocations: 87.72 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.02531/0.02531, allocations: 5.281 MB / 341.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.971e-05, allocations: 4 kB / 403.8 MB, free: 62.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.0935, allocations: 51.6 MB / 455.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.535, allocations: 85.62 MB / 0.5284 GB, free: 5.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.5352, allocations: 66.34 kB / 0.5284 GB, free: 5.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04533/0.5806, allocations: 15.47 MB / 0.5435 GB, free: 7.977 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5806, allocations: 0 / 0.5435 GB, free: 7.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.748e-05/0.5807, allocations: 8 kB / 0.5435 GB, free: 7.969 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002188/0.5829, allocations: 0.8329 MB / 0.5443 GB, free: 7.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5829, allocations: 12.03 kB / 0.5444 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.5831, allocations: 71.84 kB / 0.5444 GB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.5834, allocations: 67.19 kB / 0.5445 GB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.5842, allocations: 424.1 kB / 0.5449 GB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.5843, allocations: 26.78 kB / 0.5449 GB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.5843, allocations: 33.19 kB / 0.545 GB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.5851, allocations: 421.8 kB / 0.5454 GB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5852, allocations: 4 kB / 0.5454 GB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.5852, allocations: 16.44 kB / 0.5454 GB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.5852, allocations: 8 kB / 0.5454 GB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.5861, allocations: 415.3 kB / 0.5458 GB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/0.5895, allocations: 1.782 MB / 0.5475 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.5905, allocations: 0.508 MB / 0.548 GB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.5909, allocations: 186.6 kB / 0.5482 GB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.5909, allocations: 0 / 0.5482 GB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.5914, allocations: 261.8 kB / 0.5484 GB, free: 3.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.5914, allocations: 0 / 0.5484 GB, free: 3.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.003116/0.5945, allocations: 0.6862 MB / 0.5491 GB, free: 3.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5946, allocations: 136.8 kB / 0.5492 GB, free: 3.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.5952, allocations: 413.7 kB / 0.5496 GB, free: 2.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.5952, allocations: 29.58 kB / 0.5497 GB, free: 2.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.5954, allocations: 261.9 kB / 0.5499 GB, free: 2.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.5955, allocations: 105.6 kB / 0.55 GB, free: 2.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.5956, allocations: 3.062 kB / 0.55 GB, free: 2.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5957, allocations: 364.4 kB / 0.5504 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.596, allocations: 147.5 kB / 0.5505 GB, free: 1.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.5963, allocations: 215.7 kB / 0.5507 GB, free: 1.824 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.5967, allocations: 190.9 kB / 0.5509 GB, free: 1.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5967, allocations: 0 / 0.5509 GB, free: 1.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00356/0.6002, allocations: 0.8711 MB / 0.5517 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000401/0.6007, allocations: 0.5527 MB / 0.5523 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.6007, allocations: 0 / 0.5523 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.6035, allocations: 0.5523 MB / 0.5528 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.604, allocations: 99.67 kB / 0.5529 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006921/0.6109, allocations: 3.905 MB / 0.5567 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007464/0.6117, allocations: 90.72 kB / 0.5568 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.6118, allocations: 19.42 kB / 0.5568 GB, free: 12.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6118, allocations: 4 kB / 0.5568 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003448/0.6153, allocations: 0.8033 MB / 0.5576 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6153, allocations: 0 / 0.5576 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.6179, allocations: 0.5477 MB / 0.5582 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.6184, allocations: 87.86 kB / 0.5582 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006372/0.6247, allocations: 3.899 MB / 0.5621 GB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.6255, allocations: 83.66 kB / 0.5621 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.6255, allocations: 19.55 kB / 0.5622 GB, free: 7.039 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,triangleAndStep.integerToReal.u,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.6257, allocations: 129.7 kB / 0.5623 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.6259, allocations: 43.44 kB / 0.5623 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.629, allocations: 0.7414 MB / 0.563 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.629, allocations: 4 kB / 0.563 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.629, allocations: 0 / 0.563 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.629, allocations: 8.031 kB / 0.5631 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/0.6329, allocations: 1.443 MB / 0.5645 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6329, allocations: 0 / 0.5645 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.6333, allocations: 87.03 kB / 0.5645 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002201/0.6355, allocations: 477.6 kB / 0.565 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.6355, allocations: 11.8 kB / 0.565 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/0.64, allocations: 2.281 MB / 0.5672 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.64, allocations: 4.031 kB / 0.5672 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.6431, allocations: 0.8203 MB / 0.568 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.6434, allocations: 171.3 kB / 0.5682 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.6435, allocations: 3.812 kB / 0.5682 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.644, allocations: 70.88 kB / 0.5683 GB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6442, allocations: 42.77 kB / 0.5683 GB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.6442, allocations: 15.86 kB / 0.5683 GB, free: 1.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004218/0.6446, allocations: 325.4 kB / 0.5686 GB, free: 1.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6446, allocations: 0 / 0.5686 GB, free: 1.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001022/0.6457, allocations: 280.2 kB / 0.5689 GB, free: 1.094 MB / 378.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: 4 ($whenCondition1,triangleAndStep.integerToReal.u,triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.count) * Number of discrete states: 1 (triangleAndStep.trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003664/0.6493, allocations: 1.468 MB / 0.5703 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.6516, allocations: 1.256 MB / 0.5716 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6516, allocations: 0 / 0.5716 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.6521, allocations: 328 kB / 0.5719 GB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.6528, allocations: 85.14 kB / 0.572 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.6543, allocations: 0.6842 MB / 0.5726 GB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.6549, allocations: 0.8487 MB / 0.5735 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.6553, allocations: 75.3 kB / 0.5735 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.6555, allocations: 167.4 kB / 0.5737 GB, free: 12.46 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6555, allocations: 0 / 0.5737 GB, free: 12.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.6919, allocations: 18.38 MB / 0.5916 GB, free: 10.29 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.6921, allocations: 186.2 kB / 0.5918 GB, free: 10.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.473, allocations: 7.188 kB / 0.5918 GB, free: 10.06 MB / 410.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellTemperatureCharacteristic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellTemperatureCharacteristic.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe 2>&1)