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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005979/0.005979, allocations: 99 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 196.3 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.445, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002233/0.4472, allocations: 1.594 MB / 0.6657 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006864/0.4479, allocations: 0.5021 MB / 0.6662 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.448, allocations: 5.281 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.706e-05/0.4481, allocations: 11.86 kB / 0.6662 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.4482, allocations: 10.56 kB / 0.6662 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.4484, allocations: 44.09 kB / 0.6663 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.4485, allocations: 80.52 kB / 0.6664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4486, allocations: 37.34 kB / 0.6664 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.4487, allocations: 39.28 kB / 0.6664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.4488, allocations: 35.59 kB / 0.6665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.4488, allocations: 6.031 kB / 0.6665 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.4489, allocations: 14.33 kB / 0.6665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.4489, allocations: 29.38 kB / 0.6665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.449, allocations: 41.52 kB / 0.6665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.4491, allocations: 92.36 kB / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4491, allocations: 0 / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4491, allocations: 0 / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.4491, allocations: 1.281 kB / 0.6666 GB, free: 5.344 MB / 0.4981 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.0004272/0.4496, allocations: 403.8 kB / 0.667 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4496, allocations: 17.27 kB / 0.667 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.4496, allocations: 45.31 kB / 0.6671 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.4497, allocations: 9.859 kB / 0.6671 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.4498, allocations: 198.4 kB / 0.6673 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4498, allocations: 7.75 kB / 0.6673 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4498, allocations: 4.25 kB / 0.6673 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.4501, allocations: 109 kB / 0.6674 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4501, allocations: 1.406 kB / 0.6674 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4501, allocations: 3.984 kB / 0.6674 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4501, allocations: 1.531 kB / 0.6674 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.4503, allocations: 98.88 kB / 0.6675 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.4508, allocations: 375.1 kB / 0.6679 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.451, allocations: 60.11 kB / 0.6679 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4511, allocations: 54.02 kB / 0.668 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.4511, allocations: 10.77 kB / 0.668 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.4512, allocations: 30.56 kB / 0.668 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4512, allocations: 1.438 kB / 0.668 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004257/0.4516, allocations: 158.9 kB / 0.6682 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.4516, allocations: 60.72 kB / 0.6682 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.4517, allocations: 137.1 kB / 0.6683 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.4517, allocations: 25.7 kB / 0.6684 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.4518, allocations: 104.9 kB / 0.6685 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.4518, allocations: 22.42 kB / 0.6685 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.4518, allocations: 23.78 kB / 0.6685 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.4519, allocations: 319.9 kB / 0.6688 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.452, allocations: 43.16 kB / 0.6689 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/0.4521, allocations: 42 kB / 0.6689 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.4523, allocations: 89.89 kB / 0.669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4523, allocations: 0 / 0.669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002452/0.4526, allocations: 121.1 kB / 0.6691 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4526, allocations: 9 kB / 0.6691 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4526, allocations: 4.422 kB / 0.6691 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4526, allocations: 5.531 kB / 0.6691 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4527, allocations: 16.7 kB / 0.6691 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4528, allocations: 7.922 kB / 0.6691 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.4528, allocations: 17.06 kB / 0.6692 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.4529, allocations: 6.688 kB / 0.6692 GB, free: 3.094 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.4529, allocations: 116.1 kB / 0.6693 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.453, allocations: 11.95 kB / 0.6693 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.4533, allocations: 140.3 kB / 0.6694 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4533, allocations: 3.938 kB / 0.6694 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4533, allocations: 1.5 kB / 0.6694 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4533, allocations: 3.938 kB / 0.6694 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.4535, allocations: 209.8 kB / 0.6696 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4535, allocations: 0 / 0.6696 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4536, allocations: 28.94 kB / 0.6697 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4536, allocations: 1.281 kB / 0.6697 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4536, allocations: 1.344 kB / 0.6697 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.4536, allocations: 3.938 kB / 0.6697 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4537, allocations: 0 / 0.6697 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.4539, allocations: 221.6 kB / 0.6699 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.454, allocations: 86.41 kB / 0.67 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.454, allocations: 1.281 kB / 0.67 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4541, allocations: 17.25 kB / 0.67 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.4542, allocations: 2.438 kB / 0.67 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4542, allocations: 10.86 kB / 0.67 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.4542, allocations: 98.86 kB / 0.6701 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4542, allocations: 1.094 kB / 0.6701 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.4545, allocations: 16.88 kB / 0.6701 GB, free: 2.242 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00049/0.455, allocations: 0.771 MB / 0.6709 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.4553, allocations: 101.4 kB / 0.6709 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4553, allocations: 0 / 0.6709 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.4554, allocations: 55.94 kB / 0.671 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4556, allocations: 10.55 kB / 0.671 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.4571, allocations: 1.6 MB / 0.6726 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.4574, allocations: 0.7074 MB / 0.6733 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.4575, allocations: 13.3 kB / 0.6733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.4575, allocations: 25.95 kB / 0.6733 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.4575, allocations: 0 / 0.6733 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.474, allocations: 1.997 MB / 0.6753 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.984, allocations: 11.02 kB / 0.6753 GB, free: 14.23 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)