Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",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.00099/0.00099, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7039/0.7039, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 92.56 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.079e-05/6.082e-05, allocations: 8.266 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6828/0.896, allocations: 112 MB / 0.7499 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.8963, allocations: 70.5 kB / 0.7499 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0052/0.9015, allocations: 1.752 MB / 0.7517 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9015, allocations: 0 / 0.7517 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.9015, allocations: 4 kB / 0.7517 GB, free: 27.54 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004274/0.902, allocations: 390.8 kB / 0.752 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.902, allocations: 14.39 kB / 0.752 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.9021, allocations: 34.44 kB / 0.7521 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.9021, allocations: 11.72 kB / 0.7521 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.9023, allocations: 199.4 kB / 0.7523 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.9024, allocations: 3.844 kB / 0.7523 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.9024, allocations: 7.594 kB / 0.7523 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.9026, allocations: 94.59 kB / 0.7524 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.9026, allocations: 0 / 0.7524 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.9026, allocations: 3.938 kB / 0.7524 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.9026, allocations: 3.688 kB / 0.7524 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.9027, allocations: 61.91 kB / 0.7524 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.9033, allocations: 386 kB / 0.7528 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.852e-05/0.9034, allocations: 48.08 kB / 0.7529 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.9034, allocations: 38.12 kB / 0.7529 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.9035, allocations: 3.953 kB / 0.7529 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.9035, allocations: 41.08 kB / 0.7529 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.9035, allocations: 0 / 0.7529 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002236/0.9038, allocations: 92.97 kB / 0.753 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.9038, allocations: 51.41 kB / 0.7531 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.9039, allocations: 118.7 kB / 0.7532 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.9039, allocations: 29.61 kB / 0.7532 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.904, allocations: 105.5 kB / 0.7533 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.904, allocations: 14.97 kB / 0.7533 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.904, allocations: 7.844 kB / 0.7533 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9042, allocations: 320.7 kB / 0.7536 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.9042, allocations: 31.75 kB / 0.7537 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.9043, allocations: 24.86 kB / 0.7537 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.9043, allocations: 35.09 kB / 0.7537 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.9043, allocations: 0 / 0.7537 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00014/0.9045, allocations: 96.56 kB / 0.7538 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.9045, allocations: 8.891 kB / 0.7538 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9045, allocations: 0 / 0.7538 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.9045, allocations: 0 / 0.7538 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.9046, allocations: 24.62 kB / 0.7539 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.9047, allocations: 3.844 kB / 0.7539 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.9047, allocations: 14.06 kB / 0.7539 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.9048, allocations: 7.531 kB / 0.7539 GB, free: 25.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 7.516e-05/0.9048, allocations: 104.9 kB / 0.754 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.9049, allocations: 10.2 kB / 0.754 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.9051, allocations: 122.5 kB / 0.7541 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9051, allocations: 0 / 0.7541 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.9051, allocations: 0 / 0.7541 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9051, allocations: 0 / 0.7541 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.9053, allocations: 208.5 kB / 0.7543 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9053, allocations: 0 / 0.7543 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.9054, allocations: 25.27 kB / 0.7543 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9055, allocations: 0 / 0.7543 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.9055, allocations: 0 / 0.7543 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.9055, allocations: 10.77 kB / 0.7543 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.9055, allocations: 3.984 kB / 0.7543 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.9057, allocations: 196.3 kB / 0.7545 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.9057, allocations: 84.98 kB / 0.7546 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.9058, allocations: 6.453 kB / 0.7546 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.9059, allocations: 10.66 kB / 0.7546 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.9059, allocations: 14.8 kB / 0.7546 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.9059, allocations: 3.875 kB / 0.7547 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.906, allocations: 102.4 kB / 0.7547 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.906, allocations: 0 / 0.7547 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00021/0.9062, allocations: 23.22 kB / 0.7548 GB, free: 25.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0004979/0.9067, allocations: 0.7387 MB / 0.7555 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.9069, allocations: 73.3 kB / 0.7556 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9069, allocations: 0 / 0.7556 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.9069, allocations: 47.25 kB / 0.7556 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.9071, allocations: 6.797 kB / 0.7556 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.9075, allocations: 180.3 kB / 0.7558 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.9078, allocations: 0.7055 MB / 0.7565 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.171e-05/0.9079, allocations: 14.48 kB / 0.7565 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.9079, allocations: 31.11 kB / 0.7565 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/0.9079, allocations: 0 / 0.7565 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.9206, allocations: 1.654 MB / 0.7581 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.9208, allocations: 144.5 kB / 0.7583 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.425, allocations: 0 / 0.7583 GB, free: 23.21 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)