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.001545/0.001545, 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/IDEAS 3.0.0-master/package.mo): time 0.7255/0.7255, 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.521/1.521, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0009055/0.0009054, allocations: 95.83 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.455e-05, allocations: 4 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1578, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5299/0.6877, allocations: 112 MB / 0.7499 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.688, allocations: 72 kB / 0.75 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004649/0.6926, allocations: 1.747 MB / 0.7517 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6926, allocations: 0 / 0.7517 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6927, allocations: 7.844 kB / 0.7517 GB, free: 27.52 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.0003393/0.693, allocations: 391 kB / 0.752 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.693, allocations: 11.66 kB / 0.7521 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.6931, allocations: 34 kB / 0.7521 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.6931, allocations: 7.781 kB / 0.7521 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6933, allocations: 204.1 kB / 0.7523 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.6933, allocations: 3.875 kB / 0.7523 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.6933, allocations: 7.469 kB / 0.7523 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.6935, allocations: 89.12 kB / 0.7524 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6935, allocations: 4 kB / 0.7524 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6935, allocations: 3.688 kB / 0.7524 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.6935, allocations: 3.906 kB / 0.7524 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.6936, allocations: 60.38 kB / 0.7525 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.6941, allocations: 388.2 kB / 0.7528 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.247e-05/0.6942, allocations: 48.45 kB / 0.7529 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.6942, allocations: 35 kB / 0.7529 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.6943, allocations: 7.922 kB / 0.7529 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.6943, allocations: 30.56 kB / 0.7529 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.6943, allocations: 4 kB / 0.7529 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0001848/0.6945, allocations: 94.92 kB / 0.753 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.6945, allocations: 55.25 kB / 0.7531 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.6946, allocations: 117.2 kB / 0.7532 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.6946, allocations: 29.58 kB / 0.7532 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.6947, allocations: 102.6 kB / 0.7533 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.6947, allocations: 22.34 kB / 0.7533 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.6947, allocations: 0 / 0.7533 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.6948, allocations: 325.3 kB / 0.7537 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.6948, allocations: 27.41 kB / 0.7537 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.6949, allocations: 26.61 kB / 0.7537 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.6949, allocations: 33.23 kB / 0.7537 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6949, allocations: 0 / 0.7537 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001247/0.6951, allocations: 93.44 kB / 0.7538 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.6951, allocations: 11.08 kB / 0.7538 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6951, allocations: 0 / 0.7538 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.6951, allocations: 7.812 kB / 0.7538 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.6952, allocations: 22.88 kB / 0.7539 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6953, allocations: 0 / 0.7539 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.6953, allocations: 18.83 kB / 0.7539 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.6954, allocations: 7.188 kB / 0.7539 GB, free: 25.79 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 5.362e-05/0.6954, allocations: 108.7 kB / 0.754 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.6954, allocations: 7.844 kB / 0.754 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.6956, allocations: 115.3 kB / 0.7541 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.6957, allocations: 4 kB / 0.7541 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6957, allocations: 0 / 0.7541 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.6957, allocations: 0 / 0.7541 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.6958, allocations: 209.8 kB / 0.7543 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6958, allocations: 3.844 kB / 0.7543 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.991e-05/0.6959, allocations: 25.62 kB / 0.7543 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.696, allocations: 0 / 0.7543 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.696, allocations: 3.938 kB / 0.7544 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.696, allocations: 3.953 kB / 0.7544 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.696, allocations: 3.969 kB / 0.7544 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.6961, allocations: 197.4 kB / 0.7545 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.6962, allocations: 81.02 kB / 0.7546 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.6962, allocations: 0 / 0.7546 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.6963, allocations: 12.8 kB / 0.7546 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.6964, allocations: 12.56 kB / 0.7546 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.6964, allocations: 3.969 kB / 0.7547 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.6964, allocations: 107.6 kB / 0.7548 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6964, allocations: 0 / 0.7548 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002027/0.6966, allocations: 19.47 kB / 0.7548 GB, free: 25.1 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.0004061/0.6971, allocations: 0.742 MB / 0.7555 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.6972, allocations: 69.66 kB / 0.7556 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6972, allocations: 4 kB / 0.7556 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.6972, allocations: 47.3 kB / 0.7556 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.6974, allocations: 7.766 kB / 0.7556 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.6978, allocations: 169.7 kB / 0.7558 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.698, allocations: 0.7074 MB / 0.7565 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.982e-05/0.6981, allocations: 17.12 kB / 0.7565 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.6981, allocations: 27.25 kB / 0.7565 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.6981, allocations: 0 / 0.7565 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.7092, allocations: 1.668 MB / 0.7581 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.7094, allocations: 153 kB / 0.7583 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.377, allocations: 0 / 0.7583 GB, free: 23.18 MB / 0.5105 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)