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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1981/0.1981, allocations: 5.378 MB / 296.4 MB, free: 3.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 8 kB / 362 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 51.61 MB / 413.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.004216/0.1122, allocations: 3.359 MB / 417 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.1151, allocations: 1.403 MB / 418.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008393/0.116, allocations: 11.94 kB / 418.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009832/0.117, allocations: 202.9 kB / 418.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.1179, allocations: 154.9 kB / 418.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.1185, allocations: 147.7 kB / 418.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1195, allocations: 0.6693 MB / 419.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.1199, allocations: 150.1 kB / 419.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.1204, allocations: 235 kB / 419.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.121, allocations: 290.7 kB / 420.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1211, allocations: 35.94 kB / 420.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1213, allocations: 35.98 kB / 420.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1214, allocations: 107.5 kB / 420.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1216, allocations: 117.4 kB / 420.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006637/0.1223, allocations: 0.5415 MB / 421 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1223, allocations: 4 kB / 421 MB, free: 2.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1223, allocations: 4 kB / 421 MB, free: 2.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.435e-05/0.1224, allocations: 0 / 421 MB, free: 2.977 MB / 350.1 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.002705/0.1251, allocations: 0.9723 MB / 422 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1251, allocations: 11.97 kB / 422 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.1253, allocations: 74.52 kB / 422.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1254, allocations: 59.25 kB / 422.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.1268, allocations: 0.5639 MB / 422.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1269, allocations: 44.98 kB / 422.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.127, allocations: 43.94 kB / 422.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.128, allocations: 478 kB / 423.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1281, allocations: 0 / 423.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.1281, allocations: 16 kB / 423.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1281, allocations: 8 kB / 423.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.1293, allocations: 463.7 kB / 423.8 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2233/0.3526, allocations: 1.606 MB / 425.4 MB, free: 44.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.354, allocations: 0.5754 MB / 425.9 MB, free: 44.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.3545, allocations: 226.2 kB / 426.2 MB, free: 44.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.3546, allocations: 5 kB / 426.2 MB, free: 44.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006843/0.3553, allocations: 300.6 kB / 426.5 MB, free: 44.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/0.3553, allocations: 0 / 426.5 MB, free: 44.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003484/0.3588, allocations: 1.099 MB / 427.6 MB, free: 43.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3589, allocations: 91.5 kB / 427.6 MB, free: 43.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.3593, allocations: 428.3 kB / 428.1 MB, free: 43.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3593, allocations: 35.73 kB / 428.1 MB, free: 43.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3595, allocations: 261.9 kB / 428.4 MB, free: 43.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.107e-05/0.3595, allocations: 93.39 kB / 428.4 MB, free: 43.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.3596, allocations: 6.75 kB / 428.4 MB, free: 43.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.3597, allocations: 351.4 kB / 428.8 MB, free: 43.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.3601, allocations: 209.4 kB / 429 MB, free: 43.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.3606, allocations: 262.3 kB / 429.3 MB, free: 43.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.3612, allocations: 234.3 kB / 429.5 MB, free: 43.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3612, allocations: 0 / 429.5 MB, free: 43.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002474/0.3637, allocations: 0.8507 MB / 430.3 MB, free: 42.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.3638, allocations: 155.3 kB / 430.5 MB, free: 42.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3638, allocations: 2.906 kB / 430.5 MB, free: 42.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008083/0.3646, allocations: 253.3 kB / 430.7 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.365, allocations: 90.44 kB / 430.8 MB, free: 42.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.3694, allocations: 3.502 MB / 434.3 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.3702, allocations: 81.56 kB / 434.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.3703, allocations: 16.22 kB / 434.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3703, allocations: 3.188 kB / 434.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002415/0.3727, allocations: 0.7944 MB / 435.2 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3727, allocations: 3.375 kB / 435.2 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.3733, allocations: 245.4 kB / 435.5 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.3737, allocations: 85.42 kB / 435.5 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00377/0.3774, allocations: 3.492 MB / 439 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.378, allocations: 82.28 kB / 439.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.378, allocations: 12.33 kB / 439.1 MB, free: 37.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,triangleAndStep.realToInteger.y,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.3784, allocations: 242.9 kB / 439.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.3784, allocations: 51.2 kB / 439.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.3806, allocations: 0.7323 MB / 440.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3806, allocations: 3.219 kB / 440.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3806, allocations: 0 / 440.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3806, allocations: 3.469 kB / 440.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.3835, allocations: 1.274 MB / 441.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3835, allocations: 0 / 441.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.3838, allocations: 74.73 kB / 441.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/0.3842, allocations: 180.5 kB / 441.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.3842, allocations: 11.08 kB / 441.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.387, allocations: 1.943 MB / 443.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.387, allocations: 144 / 443.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.3891, allocations: 0.8103 MB / 444.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.3893, allocations: 154.8 kB / 444.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.3894, allocations: 7.375 kB / 444.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.3898, allocations: 60.25 kB / 444.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3899, allocations: 37.47 kB / 444.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.39, allocations: 10.47 kB / 444.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003773/0.3904, allocations: 300.1 kB / 445 MB, free: 34.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3904, allocations: 3.938 kB / 445 MB, free: 34.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000875/0.3912, allocations: 219.2 kB / 445.2 MB, free: 34.15 MB / 350.1 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.realToInteger.y,triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.count) * Number of discrete states: 1 (triangleAndStep.trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002319/0.3936, allocations: 1.363 MB / 446.6 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.3959, allocations: 1.34 MB / 447.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3959, allocations: 0 / 447.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005924/0.3965, allocations: 359.3 kB / 448.3 MB, free: 32.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.3971, allocations: 90.34 kB / 448.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.403, allocations: 3.144 MB / 451.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.4033, allocations: 0.8351 MB / 452.3 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.4037, allocations: 66.19 kB / 452.4 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.4039, allocations: 169.8 kB / 452.6 MB, free: 29.96 MB / 350.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4039, allocations: 4 kB / 452.6 MB, free: 29.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.4357, allocations: 13.19 MB / 465.8 MB, free: 29.06 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.4359, allocations: 221.8 kB / 466 MB, free: 28.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.514, allocations: 0 / 466 MB, free: 28.82 MB / 350.1 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) Environment - environmentSimulation: