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.008841/0.008841, allocations: 169.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.2 MB / 151 MB, free: 13.82 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.783/1.783, allocations: 223.1 MB / 406.8 MB, free: 3.25 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.0009173/0.0009169, allocations: 95.33 kB / 489.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005235, allocations: 16 kB / 0.5692 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4323, allocations: 82.31 MB / 0.6495 GB, free: 36.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.5726, allocations: 112.1 MB / 0.759 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5729, allocations: 79.95 kB / 0.759 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005204/0.5781, allocations: 1.75 MB / 0.7607 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5782, allocations: 0 / 0.7607 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.5782, allocations: 11.94 kB / 0.7608 GB, free: 2.141 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.0004578/0.5786, allocations: 395 kB / 0.7611 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5787, allocations: 12.03 kB / 0.7611 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.5787, allocations: 42.48 kB / 0.7612 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.5788, allocations: 7.906 kB / 0.7612 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.579, allocations: 206.8 kB / 0.7614 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.579, allocations: 0 / 0.7614 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.579, allocations: 8 kB / 0.7614 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.5793, allocations: 109.6 kB / 0.7615 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.5793, allocations: 0 / 0.7615 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5793, allocations: 0 / 0.7615 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5793, allocations: 4 kB / 0.7615 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.5795, allocations: 110.1 kB / 0.7616 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.5802, allocations: 388.5 kB / 0.762 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.5804, allocations: 70.42 kB / 0.7621 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.5804, allocations: 11.98 kB / 0.7621 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.5804, allocations: 34.52 kB / 0.7621 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.5804, allocations: 0 / 0.7621 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004638/0.5809, allocations: 181.6 kB / 0.7623 GB, free: 428 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.5809, allocations: 55.34 kB / 0.7623 GB, free: 360 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.581, allocations: 119.7 kB / 0.7624 GB, free: 232 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5811, allocations: 33.7 kB / 0.7625 GB, free: 192 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.5811, allocations: 100.2 kB / 0.7626 GB, free: 88 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.5812, allocations: 15.89 kB / 0.7626 GB, free: 72 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.5812, allocations: 8 kB / 0.7626 GB, free: 64 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5813, allocations: 318.8 kB / 0.7629 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.5814, allocations: 43.97 kB / 0.7629 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.5815, allocations: 39.97 kB / 0.763 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.5817, allocations: 51.97 kB / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5817, allocations: 0 / 0.763 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002689/0.582, allocations: 133.5 kB / 0.7631 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.582, allocations: 7.984 kB / 0.7632 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.582, allocations: 7.891 kB / 0.7632 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.582, allocations: 0 / 0.7632 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.5822, allocations: 23.92 kB / 0.7632 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5822, allocations: 4 kB / 0.7632 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.5823, allocations: 19.89 kB / 0.7632 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.5823, allocations: 4 kB / 0.7632 GB, free: 15.41 MB / 0.5417 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 () * Number of clocked 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 9.695e-05/0.5824, allocations: 113.8 kB / 0.7633 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.5824, allocations: 11.89 kB / 0.7633 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.5828, allocations: 150.3 kB / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5828, allocations: 7.953 kB / 0.7635 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5828, allocations: 0 / 0.7635 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5828, allocations: 3.938 kB / 0.7635 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.583, allocations: 209.5 kB / 0.7637 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.583, allocations: 0 / 0.7637 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.5832, allocations: 19.98 kB / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5832, allocations: 0 / 0.7637 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5832, allocations: 4.5 kB / 0.7637 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.5832, allocations: 4 kB / 0.7637 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5832, allocations: 7.891 kB / 0.7637 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.5835, allocations: 235.4 kB / 0.7639 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.5836, allocations: 81.02 kB / 0.764 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5836, allocations: 7.984 kB / 0.764 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.5837, allocations: 8 kB / 0.764 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.5838, allocations: 11.88 kB / 0.7641 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.5838, allocations: 4 kB / 0.7641 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.841e-05/0.5839, allocations: 108.3 kB / 0.7642 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5839, allocations: 4 kB / 0.7642 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002304/0.5841, allocations: 20 kB / 0.7642 GB, free: 14.32 MB / 0.5417 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 () * Number of clocked 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.000627/0.5847, allocations: 0.7671 MB / 0.7649 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.585, allocations: 107.9 kB / 0.765 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.585, allocations: 4 kB / 0.765 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.5852, allocations: 59.97 kB / 0.7651 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.5853, allocations: 3.953 kB / 0.7651 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.5864, allocations: 0.7231 MB / 0.7658 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.5866, allocations: 0.7121 MB / 0.7665 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.087e-05/0.5867, allocations: 11.98 kB / 0.7665 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.5868, allocations: 31.36 kB / 0.7665 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.5868, allocations: 4 kB / 0.7665 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.5983, allocations: 1.663 MB / 0.7682 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.5985, allocations: 164.9 kB / 0.7683 GB, free: 10 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.12, allocations: 0 / 0.7683 GB, free: 10 MB / 0.5417 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)