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.006112/0.006112, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001184/0.001184, allocations: 190 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9166/0.9166, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 67.89 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4625, allocations: 80.91 MB / 0.6642 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002338/0.4649, allocations: 1.432 MB / 0.6656 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.4654, allocations: 249.3 kB / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.4655, allocations: 1.344 kB / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.4655, allocations: 0 / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.4656, allocations: 3.938 kB / 0.6658 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.466, allocations: 70.83 kB / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.466, allocations: 21.28 kB / 0.6659 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4662, allocations: 10.7 kB / 0.6659 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.4662, allocations: 8.062 kB / 0.6659 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.4663, allocations: 14.86 kB / 0.6659 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.4663, allocations: 1.438 kB / 0.6659 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.4664, allocations: 64.33 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.4665, allocations: 5.406 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.4665, allocations: 9.312 kB / 0.666 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.4667, allocations: 57.28 kB / 0.6661 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4667, allocations: 0 / 0.6661 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4667, allocations: 0 / 0.6661 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4667, allocations: 0 / 0.6661 GB, free: 5.758 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.0004172/0.4672, allocations: 346.7 kB / 0.6664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4672, allocations: 9.25 kB / 0.6664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.4672, allocations: 30.75 kB / 0.6664 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.4673, allocations: 6.156 kB / 0.6664 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.4674, allocations: 166.8 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.4674, allocations: 384 / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.4674, allocations: 1.75 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.4676, allocations: 53.86 kB / 0.6666 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4676, allocations: 7.938 kB / 0.6666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.4676, allocations: 0 / 0.6666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4676, allocations: 1.531 kB / 0.6666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.4678, allocations: 33.45 kB / 0.6667 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.468, allocations: 245.3 kB / 0.6669 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4682, allocations: 51.03 kB / 0.667 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.4682, allocations: 19.31 kB / 0.667 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/0.4688, allocations: 458.4 kB / 0.6674 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.4688, allocations: 35.94 kB / 0.6675 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4688, allocations: 0 / 0.6675 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003132/0.4692, allocations: 84.36 kB / 0.6675 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.4692, allocations: 51.41 kB / 0.6676 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.4692, allocations: 103 kB / 0.6677 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.4693, allocations: 27.08 kB / 0.6677 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.4693, allocations: 92.03 kB / 0.6678 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.4693, allocations: 1.25 kB / 0.6678 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.4693, allocations: 16.59 kB / 0.6678 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.4694, allocations: 312.2 kB / 0.6681 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.4695, allocations: 11.98 kB / 0.6681 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.4695, allocations: 22.44 kB / 0.6681 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4697, allocations: 42.67 kB / 0.6682 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4697, allocations: 5.219 kB / 0.6682 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001537/0.4698, allocations: 68.19 kB / 0.6683 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4699, allocations: 4.219 kB / 0.6683 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4699, allocations: 1.312 kB / 0.6683 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4699, allocations: 3.938 kB / 0.6683 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.47, allocations: 13.67 kB / 0.6683 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.47, allocations: 1.312 kB / 0.6683 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.47, allocations: 3.344 kB / 0.6683 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.47, allocations: 5.188 kB / 0.6683 GB, free: 3.398 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.951e-05/0.4701, allocations: 119.2 kB / 0.6684 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.4701, allocations: 1.469 kB / 0.6684 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.4703, allocations: 74 kB / 0.6685 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4703, allocations: 5.453 kB / 0.6685 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4703, allocations: 0 / 0.6685 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4703, allocations: 0 / 0.6685 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.4704, allocations: 157.9 kB / 0.6686 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4704, allocations: 1.375 kB / 0.6686 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.4705, allocations: 13.39 kB / 0.6686 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.4705, allocations: 0 / 0.6686 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.4705, allocations: 1.094 kB / 0.6686 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4705, allocations: 0 / 0.6686 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4705, allocations: 5.594 kB / 0.6686 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4707, allocations: 157.9 kB / 0.6688 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.4707, allocations: 82.36 kB / 0.6689 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4708, allocations: 9.234 kB / 0.6689 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.4708, allocations: 2.875 kB / 0.6689 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4709, allocations: 5.375 kB / 0.6689 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.4709, allocations: 5.078 kB / 0.6689 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.941e-05/0.4709, allocations: 78.03 kB / 0.669 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4709, allocations: 0 / 0.669 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002289/0.4711, allocations: 15 kB / 0.669 GB, free: 2.66 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.0004469/0.4716, allocations: 0.7248 MB / 0.6697 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.4718, allocations: 37.12 kB / 0.6697 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4718, allocations: 4.094 kB / 0.6697 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.4719, allocations: 23.22 kB / 0.6698 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.4721, allocations: 12.73 kB / 0.6698 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.4725, allocations: 145.1 kB / 0.6699 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4726, allocations: 0.6767 MB / 0.6706 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.4726, allocations: 1.094 kB / 0.6706 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.4727, allocations: 8.844 kB / 0.6706 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4727, allocations: 4.062 kB / 0.6706 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.4904, allocations: 1.51 MB / 0.6721 GB, free: 196 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.834, allocations: 7.062 kB / 0.6721 GB, free: 192 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)