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.006813/0.006813, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7585/0.7585, allocations: 135.2 MB / 151 MB, free: 13.84 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.476/1.476, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009396/0.0009394, allocations: 101.5 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3851, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.5394, allocations: 112.1 MB / 0.759 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5397, allocations: 79.95 kB / 0.759 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005906/0.5456, allocations: 1.742 MB / 0.7607 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.967e-06/0.5456, allocations: 4 kB / 0.7608 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.5457, allocations: 7.938 kB / 0.7608 GB, free: 2.102 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.0005621/0.5462, allocations: 395 kB / 0.7611 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.5463, allocations: 8.031 kB / 0.7611 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.5464, allocations: 42.55 kB / 0.7612 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.5464, allocations: 11.84 kB / 0.7612 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.5467, allocations: 198.8 kB / 0.7614 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5467, allocations: 12 kB / 0.7614 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5467, allocations: 8 kB / 0.7614 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.547, allocations: 109.6 kB / 0.7615 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.547, allocations: 0 / 0.7615 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.547, allocations: 0 / 0.7615 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5471, allocations: 0 / 0.7615 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.5473, allocations: 107.9 kB / 0.7616 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.548, allocations: 392.4 kB / 0.762 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.5481, allocations: 74.45 kB / 0.7621 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.5482, allocations: 8 kB / 0.7621 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5482, allocations: 38.45 kB / 0.7621 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5482, allocations: 0 / 0.7621 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004873/0.5487, allocations: 173.6 kB / 0.7623 GB, free: 388 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.5488, allocations: 55.34 kB / 0.7623 GB, free: 320 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.5489, allocations: 122.2 kB / 0.7624 GB, free: 188 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.5489, allocations: 29.7 kB / 0.7625 GB, free: 152 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.549, allocations: 100.2 kB / 0.7626 GB, free: 48 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.549, allocations: 19.89 kB / 0.7626 GB, free: 28 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.549, allocations: 4 kB / 0.7626 GB, free: 24 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5492, allocations: 322.9 kB / 0.7629 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.5493, allocations: 39.92 kB / 0.7629 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.5494, allocations: 43.97 kB / 0.763 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.5496, allocations: 47.97 kB / 0.763 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5496, allocations: 4 kB / 0.763 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002789/0.5499, allocations: 129.5 kB / 0.7631 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5499, allocations: 13.08 kB / 0.7632 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5499, allocations: 3.953 kB / 0.7632 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5499, allocations: 0 / 0.7632 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.5501, allocations: 23.92 kB / 0.7632 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5501, allocations: 0 / 0.7632 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.5502, allocations: 15.89 kB / 0.7632 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.5502, allocations: 11.98 kB / 0.7632 GB, free: 15.37 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.363e-05/0.5503, allocations: 113.8 kB / 0.7633 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.5503, allocations: 11.89 kB / 0.7633 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.5507, allocations: 154.8 kB / 0.7635 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5507, allocations: 3.953 kB / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5507, allocations: 0 / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5507, allocations: 64 / 0.7635 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.5509, allocations: 217.5 kB / 0.7637 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5509, allocations: 3.938 kB / 0.7637 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5511, allocations: 23.98 kB / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5511, allocations: 0 / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.5511, allocations: 0 / 0.7637 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5511, allocations: 7.938 kB / 0.7637 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5511, allocations: 3.953 kB / 0.7637 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.5514, allocations: 231.4 kB / 0.7639 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.5515, allocations: 85.02 kB / 0.764 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.5515, allocations: 3.984 kB / 0.764 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.5516, allocations: 8 kB / 0.764 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.5517, allocations: 11.94 kB / 0.7641 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.5517, allocations: 8 kB / 0.7641 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.948e-05/0.5518, allocations: 104.9 kB / 0.7642 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5518, allocations: 3.938 kB / 0.7642 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002253/0.552, allocations: 28 kB / 0.7642 GB, free: 14.27 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.0006549/0.5527, allocations: 0.7671 MB / 0.7649 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.553, allocations: 107.9 kB / 0.765 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.553, allocations: 0 / 0.765 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.5531, allocations: 59.97 kB / 0.7651 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.5533, allocations: 11.94 kB / 0.7651 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.5545, allocations: 0.7196 MB / 0.7658 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5548, allocations: 0.7043 MB / 0.7665 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.197e-05/0.5549, allocations: 16.3 kB / 0.7665 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.555, allocations: 27.42 kB / 0.7665 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.555, allocations: 4 kB / 0.7665 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.5683, allocations: 1.664 MB / 0.7682 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.5686, allocations: 176.8 kB / 0.7683 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.099, allocations: 0 / 0.7683 GB, free: 9.949 MB / 0.5417 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)