Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",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.005819/0.005819, 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.001369/0.00137, allocations: 187.4 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9469/0.9469, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.4293, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002004/0.4314, allocations: 1.429 MB / 0.6656 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.4318, allocations: 258 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.4318, allocations: 1.094 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.4319, allocations: 0 / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.4319, allocations: 3.938 kB / 0.6658 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.4322, allocations: 59.28 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.4323, allocations: 29.33 kB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.4324, allocations: 2.562 kB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.4324, allocations: 10.58 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.4324, allocations: 10.81 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.4325, allocations: 10.48 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.4326, allocations: 60.59 kB / 0.666 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.4326, allocations: 1.25 kB / 0.666 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.4326, allocations: 12.98 kB / 0.666 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.4327, allocations: 57.11 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4327, allocations: 0 / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4328, allocations: 0 / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.4328, allocations: 0 / 0.666 GB, free: 5.805 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003289/0.4331, allocations: 342.2 kB / 0.6664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4331, allocations: 13.97 kB / 0.6664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.018e-05/0.4332, allocations: 34.75 kB / 0.6664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.4332, allocations: 6.188 kB / 0.6664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.511e-05/0.4333, allocations: 166.7 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.4333, allocations: 384 / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.4333, allocations: 1.75 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4334, allocations: 50.23 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4335, allocations: 3.938 kB / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.4335, allocations: 3.938 kB / 0.6666 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4335, allocations: 13.14 kB / 0.6667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.4336, allocations: 30.03 kB / 0.6667 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.4339, allocations: 249 kB / 0.6669 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.434, allocations: 38.81 kB / 0.667 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.077e-05/0.4341, allocations: 26.97 kB / 0.667 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005252/0.4346, allocations: 454.4 kB / 0.6674 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4346, allocations: 35.56 kB / 0.6675 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4347, allocations: 0 / 0.6675 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003219/0.435, allocations: 85.48 kB / 0.6675 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.435, allocations: 51.41 kB / 0.6676 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.4351, allocations: 102.9 kB / 0.6677 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.4351, allocations: 25.7 kB / 0.6677 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.4351, allocations: 85.3 kB / 0.6678 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.4351, allocations: 1.531 kB / 0.6678 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.4351, allocations: 20.34 kB / 0.6678 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.4352, allocations: 314.8 kB / 0.6681 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.4353, allocations: 17.11 kB / 0.6681 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.4353, allocations: 17.83 kB / 0.6681 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.4355, allocations: 43.06 kB / 0.6682 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4355, allocations: 5.688 kB / 0.6682 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.4357, allocations: 71.02 kB / 0.6683 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4357, allocations: 5.375 kB / 0.6683 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.4357, allocations: 0 / 0.6683 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4357, allocations: 1.344 kB / 0.6683 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.4358, allocations: 13.98 kB / 0.6683 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.4358, allocations: 0 / 0.6683 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.4359, allocations: 11.45 kB / 0.6683 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.4359, allocations: 1.25 kB / 0.6683 GB, free: 3.438 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 (2): * Single equations (assignments): 2 * 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.009e-05/0.4359, allocations: 111.2 kB / 0.6684 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.4359, allocations: 6.062 kB / 0.6684 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.4361, allocations: 70.16 kB / 0.6685 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4362, allocations: 0 / 0.6685 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4362, allocations: 5.188 kB / 0.6685 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4362, allocations: 0 / 0.6685 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.987e-05/0.4363, allocations: 161.5 kB / 0.6686 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4363, allocations: 1.312 kB / 0.6686 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.4363, allocations: 9.547 kB / 0.6686 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4363, allocations: 0 / 0.6686 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.4363, allocations: 1.094 kB / 0.6686 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4364, allocations: 0 / 0.6686 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4364, allocations: 1.219 kB / 0.6686 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.4366, allocations: 174.2 kB / 0.6688 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.4366, allocations: 82.45 kB / 0.6689 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.4366, allocations: 1.625 kB / 0.6689 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.4367, allocations: 6.609 kB / 0.6689 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.4367, allocations: 1.344 kB / 0.6689 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.4367, allocations: 1.531 kB / 0.6689 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.008e-05/0.4367, allocations: 81.31 kB / 0.669 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4367, allocations: 1.25 kB / 0.669 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002268/0.437, allocations: 20.67 kB / 0.669 GB, free: 2.695 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 (2): * Single equations (assignments): 2 * 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.0004069/0.4374, allocations: 0.7176 MB / 0.6697 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.4376, allocations: 38.14 kB / 0.6697 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4376, allocations: 0 / 0.6697 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.4377, allocations: 15.2 kB / 0.6697 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.4379, allocations: 13.67 kB / 0.6698 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.4383, allocations: 148.5 kB / 0.6699 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.4383, allocations: 0.6725 MB / 0.6706 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.4384, allocations: 5.734 kB / 0.6706 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.4384, allocations: 12.75 kB / 0.6706 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4384, allocations: 0 / 0.6706 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.4561, allocations: 1.515 MB / 0.6721 GB, free: 244 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.769, allocations: 14.88 kB / 0.6721 GB, free: 232 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)