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.005642/0.005642, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001188/0.001188, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8965/0.8965, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4208, allocations: 80.92 MB / 0.6642 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.00237/0.4232, allocations: 1.59 MB / 0.6657 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.424, allocations: 0.5049 MB / 0.6662 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.424, allocations: 1.406 kB / 0.6662 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.836e-05/0.4241, allocations: 9 kB / 0.6662 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.4242, allocations: 22.41 kB / 0.6662 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.4244, allocations: 31.09 kB / 0.6663 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.4245, allocations: 81.06 kB / 0.6663 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.4247, allocations: 41.84 kB / 0.6664 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.4248, allocations: 42.03 kB / 0.6664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.4249, allocations: 45.14 kB / 0.6665 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.4249, allocations: 6.031 kB / 0.6665 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.881e-05/0.425, allocations: 9.469 kB / 0.6665 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.425, allocations: 21.14 kB / 0.6665 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.4251, allocations: 41.8 kB / 0.6665 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.4252, allocations: 89.86 kB / 0.6666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4252, allocations: 0 / 0.6666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4252, allocations: 0 / 0.6666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.4252, allocations: 1.219 kB / 0.6666 GB, free: 5.48 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.0004952/0.4257, allocations: 404.1 kB / 0.667 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4258, allocations: 13.34 kB / 0.667 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.4258, allocations: 37.31 kB / 0.6671 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.4259, allocations: 13.88 kB / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.426, allocations: 197.8 kB / 0.6673 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.426, allocations: 7.094 kB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.4261, allocations: 5.656 kB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.4263, allocations: 120.7 kB / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4263, allocations: 1.062 kB / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4263, allocations: 0 / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4264, allocations: 6.281 kB / 0.6674 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.4266, allocations: 98.59 kB / 0.6675 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.4271, allocations: 375.4 kB / 0.6678 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4272, allocations: 59.36 kB / 0.6679 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.4273, allocations: 45.89 kB / 0.6679 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.4274, allocations: 6.562 kB / 0.668 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4274, allocations: 31.88 kB / 0.668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4274, allocations: 0 / 0.668 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004293/0.4278, allocations: 172.4 kB / 0.6682 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.4279, allocations: 55.34 kB / 0.6682 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.4279, allocations: 137 kB / 0.6683 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.428, allocations: 27.14 kB / 0.6684 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.428, allocations: 107.8 kB / 0.6685 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.428, allocations: 22.22 kB / 0.6685 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.4281, allocations: 27.42 kB / 0.6685 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.4281, allocations: 320.9 kB / 0.6688 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4282, allocations: 37.84 kB / 0.6689 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.4283, allocations: 42.8 kB / 0.6689 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.4285, allocations: 84.75 kB / 0.669 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4285, allocations: 5.594 kB / 0.669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/0.4288, allocations: 128.4 kB / 0.6691 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4288, allocations: 5.688 kB / 0.6691 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4288, allocations: 0 / 0.6691 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4288, allocations: 9.266 kB / 0.6691 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.429, allocations: 16.14 kB / 0.6691 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.429, allocations: 1.281 kB / 0.6691 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.4291, allocations: 12.7 kB / 0.6691 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.4291, allocations: 3.219 kB / 0.6691 GB, free: 3.238 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.127e-05/0.4291, allocations: 125.4 kB / 0.6693 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.4292, allocations: 10.81 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.4295, allocations: 141.4 kB / 0.6694 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4295, allocations: 3.938 kB / 0.6694 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4295, allocations: 0 / 0.6694 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4295, allocations: 5.844 kB / 0.6694 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.4297, allocations: 208.9 kB / 0.6696 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4297, allocations: 0 / 0.6696 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.4298, allocations: 17.48 kB / 0.6696 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4298, allocations: 0 / 0.6696 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4298, allocations: 1.125 kB / 0.6696 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4298, allocations: 9.344 kB / 0.6696 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4298, allocations: 0 / 0.6696 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.4301, allocations: 228.7 kB / 0.6699 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.4301, allocations: 83.61 kB / 0.6699 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4301, allocations: 1.531 kB / 0.6699 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.4302, allocations: 11.98 kB / 0.67 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.4303, allocations: 6.641 kB / 0.67 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4303, allocations: 2.531 kB / 0.67 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.4303, allocations: 101.1 kB / 0.6701 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4303, allocations: 4 kB / 0.6701 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002295/0.4306, allocations: 21.28 kB / 0.6701 GB, free: 2.379 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.0004421/0.431, allocations: 0.7673 MB / 0.6708 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.4313, allocations: 101.8 kB / 0.6709 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4313, allocations: 0 / 0.6709 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4314, allocations: 52.12 kB / 0.671 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.4317, allocations: 8.562 kB / 0.671 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.433, allocations: 1.606 MB / 0.6726 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.4333, allocations: 0.7037 MB / 0.6732 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.4334, allocations: 12.05 kB / 0.6733 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.4334, allocations: 27.7 kB / 0.6733 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4334, allocations: 0 / 0.6733 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.4501, allocations: 2.015 MB / 0.6753 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/8.068, allocations: 13.08 kB / 0.6753 GB, free: 14.37 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 & /home/hudson/saved_omc/OMSimulator/install/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)