Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_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.001366/0.001366, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7435/0.7435, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008521/0.0008522, allocations: 91.94 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.31e-05, allocations: 12 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4709, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.6185, allocations: 111.3 MB / 0.7426 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.6189, allocations: 79.95 kB / 0.7427 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005104/0.624, allocations: 1.727 MB / 0.7444 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.976e-06/0.624, allocations: 4 kB / 0.7444 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.624, allocations: 8 kB / 0.7444 GB, free: 9.531 MB / 0.5261 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.0004306/0.6245, allocations: 390.1 kB / 0.7448 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6245, allocations: 12.03 kB / 0.7448 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.6246, allocations: 7.906 kB / 0.7448 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.6248, allocations: 196.7 kB / 0.745 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.6248, allocations: 4 kB / 0.745 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.6248, allocations: 8 kB / 0.745 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001591/0.625, allocations: 63.95 kB / 0.7451 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.6251, allocations: 87.56 kB / 0.7452 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6252, allocations: 0 / 0.7452 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.6252, allocations: 4 kB / 0.7452 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6252, allocations: 0 / 0.7452 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.6258, allocations: 357.1 kB / 0.7455 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.461e-05/0.6259, allocations: 46.56 kB / 0.7455 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.6259, allocations: 32.97 kB / 0.7456 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.626, allocations: 0 / 0.7456 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.626, allocations: 38.56 kB / 0.7456 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.626, allocations: 0 / 0.7456 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002873/0.6263, allocations: 101.5 kB / 0.7457 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.6264, allocations: 51.41 kB / 0.7458 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6265, allocations: 113.2 kB / 0.7459 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.6265, allocations: 29.64 kB / 0.7459 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.6266, allocations: 112.2 kB / 0.746 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.6266, allocations: 15.72 kB / 0.746 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.6266, allocations: 4 kB / 0.746 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6267, allocations: 322.8 kB / 0.7463 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.6268, allocations: 23.94 kB / 0.7464 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.6268, allocations: 23.98 kB / 0.7464 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.6269, allocations: 23.98 kB / 0.7464 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6269, allocations: 4 kB / 0.7464 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001516/0.6271, allocations: 97.56 kB / 0.7465 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6271, allocations: 5.094 kB / 0.7465 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6271, allocations: 0 / 0.7465 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.6271, allocations: 0 / 0.7465 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.6273, allocations: 27.94 kB / 0.7465 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6273, allocations: 0 / 0.7465 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.6274, allocations: 15.98 kB / 0.7465 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.6274, allocations: 256 / 0.7465 GB, free: 7.16 MB / 0.5261 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.33e-05/0.6275, allocations: 108.9 kB / 0.7466 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001761/0.6277, allocations: 101.6 kB / 0.7467 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.6277, allocations: 11.91 kB / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.6279, allocations: 118.2 kB / 0.7469 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.628, allocations: 0 / 0.7469 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.628, allocations: 3.938 kB / 0.7469 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.628, allocations: 3.984 kB / 0.7469 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.6282, allocations: 174.1 kB / 0.747 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6282, allocations: 0 / 0.747 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.6283, allocations: 19.98 kB / 0.7471 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6283, allocations: 8 kB / 0.7471 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6283, allocations: 0 / 0.7471 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6283, allocations: 0 / 0.7471 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6283, allocations: 3.953 kB / 0.7471 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.6285, allocations: 191.4 kB / 0.7473 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.6286, allocations: 85.02 kB / 0.7473 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.6286, allocations: 3.984 kB / 0.7473 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.6287, allocations: 12 kB / 0.7474 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.6288, allocations: 11.94 kB / 0.7474 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6288, allocations: 4 kB / 0.7474 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.6289, allocations: 103.8 kB / 0.7475 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.6289, allocations: 0 / 0.7475 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000225/0.6291, allocations: 16 kB / 0.7475 GB, free: 6.105 MB / 0.5261 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.0005027/0.6296, allocations: 0.7437 MB / 0.7482 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.6298, allocations: 71.91 kB / 0.7483 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6298, allocations: 7.938 kB / 0.7483 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.6299, allocations: 35.98 kB / 0.7483 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.63, allocations: 5.047 kB / 0.7483 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.6305, allocations: 173.9 kB / 0.7485 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.6307, allocations: 0.708 MB / 0.7492 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.64e-05/0.6308, allocations: 15.97 kB / 0.7492 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.6309, allocations: 27.42 kB / 0.7492 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6309, allocations: 0 / 0.7492 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.6552, allocations: 1.359 MB / 0.7505 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.6555, allocations: 127.6 kB / 0.7507 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.144, allocations: 3.938 kB / 0.7507 GB, free: 2.695 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)