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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005372/0.005372, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1452/0.1452, allocations: 5.384 MB / 296.8 MB, free: 3.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 8 kB / 362.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 51.6 MB / 414.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003887/0.1075, allocations: 2.944 MB / 417.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1098, allocations: 1.204 MB / 418.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.1102, allocations: 4 kB / 418.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006647/0.1109, allocations: 199 kB / 418.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004414/0.1113, allocations: 127.2 kB / 418.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.1115, allocations: 91.92 kB / 418.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005835/0.1121, allocations: 494.1 kB / 419.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.1124, allocations: 107.9 kB / 419.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.1127, allocations: 163.3 kB / 419.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.113, allocations: 211 kB / 419.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.113, allocations: 20 kB / 419.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1132, allocations: 31.98 kB / 419.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.1132, allocations: 67.67 kB / 419.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.1134, allocations: 216.6 kB / 420.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.1139, allocations: 466.2 kB / 420.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1139, allocations: 3.938 kB / 420.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1139, allocations: 0 / 420.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1139, allocations: 0 / 420.6 MB, free: 3.707 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00172/0.1157, allocations: 0.7325 MB / 421.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1157, allocations: 12.03 kB / 421.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.1158, allocations: 50.73 kB / 421.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.1159, allocations: 40.47 kB / 421.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.1168, allocations: 472 kB / 421.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1168, allocations: 28.38 kB / 421.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.1169, allocations: 20 kB / 421.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.1175, allocations: 287.4 kB / 422.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1175, allocations: 3.938 kB / 422.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.1175, allocations: 8 kB / 422.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1175, allocations: 7.984 kB / 422.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.1182, allocations: 260.9 kB / 422.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1204, allocations: 1.292 MB / 423.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.1208, allocations: 162.5 kB / 424 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1211, allocations: 116.8 kB / 424.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1212, allocations: 0 / 424.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.196/0.3172, allocations: 31.56 kB / 424.1 MB, free: 45.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 5.1e-06/0.3172, allocations: 0 / 424.1 MB, free: 45.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001115/0.3183, allocations: 277.9 kB / 424.4 MB, free: 45.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3184, allocations: 58.14 kB / 424.4 MB, free: 45.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.3191, allocations: 370.7 kB / 424.8 MB, free: 45.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3192, allocations: 25.7 kB / 424.8 MB, free: 45.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.3193, allocations: 213.9 kB / 425 MB, free: 45.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.3194, allocations: 29.69 kB / 425.1 MB, free: 45.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.3194, allocations: 20.78 kB / 425.1 MB, free: 45.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3196, allocations: 346.1 kB / 425.4 MB, free: 44.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.3199, allocations: 107.1 kB / 425.5 MB, free: 44.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.3202, allocations: 139.8 kB / 425.6 MB, free: 44.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.3208, allocations: 225 kB / 425.9 MB, free: 44.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3208, allocations: 0 / 425.9 MB, free: 44.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009972/0.3218, allocations: 376.5 kB / 426.2 MB, free: 44.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3218, allocations: 3.188 kB / 426.2 MB, free: 44.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3218, allocations: 3.891 kB / 426.2 MB, free: 44.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.3223, allocations: 74.69 kB / 426.3 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.3226, allocations: 63.05 kB / 426.4 MB, free: 44.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3239, allocations: 1.461 MB / 427.8 MB, free: 43.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.3243, allocations: 48.03 kB / 427.9 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3243, allocations: 6.422 kB / 427.9 MB, free: 43.38 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001504/0.3244, allocations: 145 kB / 428 MB, free: 43.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.3245, allocations: 31.88 kB / 428.1 MB, free: 43.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/0.3246, allocations: 30.25 kB / 428.1 MB, free: 43.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3246, allocations: 6.766 kB / 428.1 MB, free: 43.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.3246, allocations: 0.6875 kB / 428.1 MB, free: 43.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3246, allocations: 3.938 kB / 428.1 MB, free: 43.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008924/0.3255, allocations: 0.6208 MB / 428.7 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3255, allocations: 0.6094 kB / 428.7 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.3257, allocations: 35.39 kB / 428.8 MB, free: 42.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3257, allocations: 7.281 kB / 428.8 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3257, allocations: 288 / 428.8 MB, free: 42.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3257, allocations: 7.938 kB / 428.8 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3258, allocations: 3.094 kB / 428.8 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.3262, allocations: 314.5 kB / 429.1 MB, free: 42.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.3263, allocations: 119.2 kB / 429.2 MB, free: 42.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3264, allocations: 3.938 kB / 429.2 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3266, allocations: 34.53 kB / 429.2 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3266, allocations: 6.688 kB / 429.2 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3266, allocations: 0.75 kB / 429.2 MB, free: 42.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.3269, allocations: 262.4 kB / 429.5 MB, free: 42.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3269, allocations: 0 / 429.5 MB, free: 42.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.3272, allocations: 69.84 kB / 429.6 MB, free: 42.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006281/0.3278, allocations: 0.8507 MB / 430.4 MB, free: 41.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.3285, allocations: 359.3 kB / 430.8 MB, free: 41.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3285, allocations: 192 / 430.8 MB, free: 41.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.3287, allocations: 87.64 kB / 430.9 MB, free: 41.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.3293, allocations: 69.39 kB / 430.9 MB, free: 41.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.3333, allocations: 3.275 MB / 434.2 MB, free: 40.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.3335, allocations: 0.7734 MB / 435 MB, free: 39.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.3337, allocations: 42.38 kB / 435 MB, free: 39.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3338, allocations: 109.6 kB / 435.1 MB, free: 39.38 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.3338, allocations: 0 / 435.1 MB, free: 39.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.3548, allocations: 6.466 MB / 441.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.355, allocations: 224.9 kB / 441.8 MB, free: 38.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.1, allocations: 0 / 441.8 MB, free: 38.68 MB / 350.1 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/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)