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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7908/0.7908, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.16 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4502, allocations: 80.2 MB / 0.5802 GB, free: 4.832 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003046/0.4533, allocations: 1.578 MB / 0.5817 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.4542, allocations: 0.5172 MB / 0.5822 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.4542, allocations: 2.094 kB / 0.5822 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.4543, allocations: 10.27 kB / 0.5822 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.4544, allocations: 15.45 kB / 0.5823 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.4547, allocations: 41.53 kB / 0.5823 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4548, allocations: 80.3 kB / 0.5824 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.455, allocations: 41.56 kB / 0.5824 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.717e-05/0.4551, allocations: 40.33 kB / 0.5825 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.4552, allocations: 37.33 kB / 0.5825 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.4552, allocations: 5.469 kB / 0.5825 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.4553, allocations: 24.28 kB / 0.5825 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.4553, allocations: 20.91 kB / 0.5825 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.4554, allocations: 35.97 kB / 0.5826 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.4555, allocations: 89.98 kB / 0.5827 GB, free: 3.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4556, allocations: 0 / 0.5827 GB, free: 3.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4556, allocations: 1 kB / 0.5827 GB, free: 3.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4556, allocations: 0 / 0.5827 GB, free: 3.145 MB / 430.1 MB 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.0005333/0.4561, allocations: 407.7 kB / 0.5831 GB, free: 2.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4562, allocations: 9.844 kB / 0.5831 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.4562, allocations: 41.64 kB / 0.5831 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.4562, allocations: 10.77 kB / 0.5831 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.4564, allocations: 193.5 kB / 0.5833 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.4564, allocations: 3.594 kB / 0.5833 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.4565, allocations: 11.7 kB / 0.5833 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.4567, allocations: 110 kB / 0.5834 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4568, allocations: 4 kB / 0.5834 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.4568, allocations: 4.938 kB / 0.5834 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4568, allocations: 2.031 kB / 0.5834 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.4571, allocations: 96.44 kB / 0.5835 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.4577, allocations: 381.1 kB / 0.5839 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.4579, allocations: 60.3 kB / 0.5839 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.458, allocations: 49.67 kB / 0.584 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.516e-05/0.458, allocations: 3.859 kB / 0.584 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4581, allocations: 36.61 kB / 0.584 GB, free: 1.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4581, allocations: 0 / 0.584 GB, free: 1.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004737/0.4585, allocations: 168.8 kB / 0.5842 GB, free: 1.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.4586, allocations: 57.42 kB / 0.5842 GB, free: 1.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.915e-05/0.4587, allocations: 128.8 kB / 0.5844 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.4587, allocations: 26.89 kB / 0.5844 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.4587, allocations: 111.4 kB / 0.5845 GB, free: 1.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.4588, allocations: 23.84 kB / 0.5845 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.4588, allocations: 25.53 kB / 0.5845 GB, free: 1.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.4589, allocations: 316.1 kB / 0.5848 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.459, allocations: 39.03 kB / 0.5849 GB, free: 1.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.4591, allocations: 39.19 kB / 0.5849 GB, free: 1.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.4594, allocations: 99.59 kB / 0.585 GB, free: 1.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4594, allocations: 0 / 0.585 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002724/0.4596, allocations: 123.2 kB / 0.5851 GB, free: 1.137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4597, allocations: 5.844 kB / 0.5851 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4597, allocations: 3.984 kB / 0.5851 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4597, allocations: 5.156 kB / 0.5851 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4598, allocations: 21.39 kB / 0.5852 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4599, allocations: 1.219 kB / 0.5852 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.4599, allocations: 7.594 kB / 0.5852 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.46, allocations: 4.625 kB / 0.5852 GB, free: 1.125 MB / 430.1 MB 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 7.277e-05/0.46, allocations: 122.4 kB / 0.5853 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.4601, allocations: 7.938 kB / 0.5853 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.4605, allocations: 145.8 kB / 0.5854 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4605, allocations: 4.75 kB / 0.5854 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4605, allocations: 4.844 kB / 0.5855 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4605, allocations: 0.75 kB / 0.5855 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.4607, allocations: 207.5 kB / 0.5856 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4607, allocations: 0.9375 kB / 0.5857 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4608, allocations: 17.89 kB / 0.5857 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4608, allocations: 1.125 kB / 0.5857 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4608, allocations: 1.906 kB / 0.5857 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4608, allocations: 4.734 kB / 0.5857 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4609, allocations: 4 kB / 0.5857 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4612, allocations: 224.7 kB / 0.5859 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.4612, allocations: 82.92 kB / 0.586 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.4612, allocations: 1.844 kB / 0.586 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4613, allocations: 15.78 kB / 0.586 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.4614, allocations: 9.312 kB / 0.586 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.4614, allocations: 3.672 kB / 0.586 GB, free: 440 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.4615, allocations: 104.3 kB / 0.5861 GB, free: 356 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4615, allocations: 0 / 0.5861 GB, free: 356 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.4617, allocations: 21 kB / 0.5861 GB, free: 348 kB / 430.1 MB 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.0006328/0.4624, allocations: 0.7672 MB / 0.5869 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.4627, allocations: 99.59 kB / 0.587 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4627, allocations: 0 / 0.587 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4629, allocations: 53.58 kB / 0.587 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.4631, allocations: 9.594 kB / 0.587 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.4652, allocations: 1.593 MB / 0.5886 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4655, allocations: 0.7032 MB / 0.5893 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.4657, allocations: 17.77 kB / 0.5893 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.4658, allocations: 30.17 kB / 0.5893 GB, free: 13.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4658, allocations: 0.9688 kB / 0.5893 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.4901, allocations: 1.953 MB / 0.5912 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.782, allocations: 7.375 kB / 0.5912 GB, free: 13.19 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)