Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",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.005216/0.005216, allocations: 97.39 kB / 15.73 MB, free: 6.004 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.001308/0.001308, allocations: 200.2 kB / 16.68 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.6 MB / 426.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 0.5858 GB, free: 3.16 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4184, allocations: 81.01 MB / 0.6649 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001531/0.4199, allocations: 0.5665 MB / 0.6655 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003942/0.4204, allocations: 198.5 kB / 0.6657 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.148e-05/0.4204, allocations: 0 / 0.6657 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.4204, allocations: 1.438 kB / 0.6657 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.4204, allocations: 4 kB / 0.6657 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.4207, allocations: 53.02 kB / 0.6657 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.4208, allocations: 1.5 kB / 0.6657 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4208, allocations: 0 / 0.6657 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.4209, allocations: 5.391 kB / 0.6657 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.958e-05/0.4209, allocations: 0 / 0.6657 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.4209, allocations: 1.469 kB / 0.6657 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.421, allocations: 57.2 kB / 0.6658 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.164e-06/0.4211, allocations: 3.938 kB / 0.6658 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.4211, allocations: 3.984 kB / 0.6658 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.4212, allocations: 32.77 kB / 0.6658 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4212, allocations: 0 / 0.6658 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4212, allocations: 1.25 kB / 0.6658 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.4212, allocations: 0 / 0.6658 GB, free: 6.367 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002077/0.4214, allocations: 325.5 kB / 0.6661 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4215, allocations: 9.344 kB / 0.6661 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.028e-05/0.4215, allocations: 32.16 kB / 0.6662 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.4215, allocations: 0.9375 kB / 0.6662 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.639e-05/0.4216, allocations: 160.4 kB / 0.6663 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4216, allocations: 9.797 kB / 0.6663 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.4216, allocations: 4.375 kB / 0.6663 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.498e-05/0.4217, allocations: 27.7 kB / 0.6664 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4217, allocations: 3.938 kB / 0.6664 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.4217, allocations: 1.562 kB / 0.6664 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4217, allocations: 0 / 0.6664 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.4217, allocations: 1.375 kB / 0.6664 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.771e-05/0.4218, allocations: 146.9 kB / 0.6665 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.436e-05/0.4219, allocations: 27.89 kB / 0.6665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.4219, allocations: 10.06 kB / 0.6665 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005779/0.4225, allocations: 452.4 kB / 0.667 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.4225, allocations: 30.56 kB / 0.667 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.4225, allocations: 5.406 kB / 0.667 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001115/0.4226, allocations: 37.53 kB / 0.667 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4226, allocations: 52.47 kB / 0.6671 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.764e-05/0.4227, allocations: 93.8 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.4227, allocations: 25.7 kB / 0.6672 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.117e-05/0.4227, allocations: 85.61 kB / 0.6673 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.4227, allocations: 0 / 0.6673 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.4227, allocations: 15.22 kB / 0.6673 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.4228, allocations: 320.1 kB / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-06/0.4228, allocations: 0 / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.4228, allocations: 1.531 kB / 0.6676 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.4228, allocations: 7.484 kB / 0.6676 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4229, allocations: 0 / 0.6676 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.078e-05/0.4229, allocations: 42.83 kB / 0.6677 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4229, allocations: 7.406 kB / 0.6677 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.4229, allocations: 4.938 kB / 0.6677 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4229, allocations: 4.094 kB / 0.6677 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.423, allocations: 1.25 kB / 0.6677 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.423, allocations: 1.562 kB / 0.6677 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-06/0.423, allocations: 3.938 kB / 0.6677 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.423, allocations: 0 / 0.6677 GB, free: 4.23 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 (1): * Single equations (assignments): 1 * 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 4.175e-05/0.4231, allocations: 107.3 kB / 0.6678 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.4231, allocations: 1.406 kB / 0.6678 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.4231, allocations: 48.2 kB / 0.6678 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4232, allocations: 1.188 kB / 0.6678 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4232, allocations: 4.031 kB / 0.6678 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4232, allocations: 0 / 0.6678 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.553e-05/0.4232, allocations: 150.8 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4232, allocations: 1.438 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.4233, allocations: 1.281 kB / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.4233, allocations: 0 / 0.668 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.4233, allocations: 5.25 kB / 0.668 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4233, allocations: 0 / 0.668 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4233, allocations: 0 / 0.668 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.636e-05/0.4233, allocations: 63.39 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.4234, allocations: 81.09 kB / 0.6681 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.4234, allocations: 5.125 kB / 0.6681 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.4234, allocations: 0 / 0.6681 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.4234, allocations: 1.156 kB / 0.6681 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.4234, allocations: 3.938 kB / 0.6681 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.838e-05/0.4234, allocations: 76.38 kB / 0.6682 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4234, allocations: 0 / 0.6682 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002006/0.4236, allocations: 19.66 kB / 0.6682 GB, free: 3.598 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 (1): * Single equations (assignments): 1 * 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.0003083/0.424, allocations: 0.6109 MB / 0.6688 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.424, allocations: 8.25 kB / 0.6688 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.424, allocations: 0 / 0.6688 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.4241, allocations: 2.5 kB / 0.6688 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.4242, allocations: 5.469 kB / 0.6688 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.4244, allocations: 115.5 kB / 0.6689 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.4245, allocations: 0.6742 MB / 0.6696 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.518e-06/0.4245, allocations: 0 / 0.6696 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.4246, allocations: 9.156 kB / 0.6696 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4246, allocations: 4 kB / 0.6696 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.4447, allocations: 1.142 MB / 0.6707 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.197, allocations: 11.69 kB / 0.6707 GB, free: 1.445 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)