Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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/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.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001182/0.001182, 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.001189/0.001189, allocations: 196.6 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7312/0.7312, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 68.52 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4115, allocations: 80.2 MB / 0.5802 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001894/0.4134, allocations: 0.581 MB / 0.5808 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004449/0.4139, allocations: 187.1 kB / 0.5809 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.4139, allocations: 5.469 kB / 0.581 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.414, allocations: 3.938 kB / 0.581 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.414, allocations: 0 / 0.581 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.4144, allocations: 56.84 kB / 0.581 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.872e-05/0.4145, allocations: 0.7812 kB / 0.581 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.4145, allocations: 1.953 kB / 0.581 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.4145, allocations: 1.562 kB / 0.581 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.984e-05/0.4146, allocations: 4 kB / 0.581 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.4146, allocations: 1.156 kB / 0.581 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.4148, allocations: 61.33 kB / 0.5811 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.4148, allocations: 0 / 0.5811 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.4148, allocations: 4.719 kB / 0.5811 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.4149, allocations: 40.42 kB / 0.5811 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4149, allocations: 0 / 0.5811 GB, free: 3.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4149, allocations: 0 / 0.5811 GB, free: 3.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.415, allocations: 0.625 kB / 0.5811 GB, free: 3.867 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002563/0.4152, allocations: 316.9 kB / 0.5814 GB, free: 3.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4153, allocations: 10.42 kB / 0.5814 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.571e-05/0.4153, allocations: 34.69 kB / 0.5815 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.4153, allocations: 4.938 kB / 0.5815 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.729e-05/0.4154, allocations: 170.6 kB / 0.5816 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4154, allocations: 384 / 0.5816 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.4154, allocations: 1.344 kB / 0.5816 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.346e-05/0.4155, allocations: 28.78 kB / 0.5817 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4155, allocations: 4.547 kB / 0.5817 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.4155, allocations: 0 / 0.5817 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4155, allocations: 0.6875 kB / 0.5817 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.4156, allocations: 2.062 kB / 0.5817 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.787e-05/0.4157, allocations: 144.2 kB / 0.5818 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.193e-05/0.4157, allocations: 28.52 kB / 0.5818 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.4157, allocations: 10.77 kB / 0.5818 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/0.4164, allocations: 453.7 kB / 0.5823 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.4165, allocations: 44.61 kB / 0.5823 GB, free: 2.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4165, allocations: 0 / 0.5823 GB, free: 2.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.4166, allocations: 36.36 kB / 0.5824 GB, free: 2.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.4166, allocations: 55.34 kB / 0.5824 GB, free: 2.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.627e-05/0.4166, allocations: 94.41 kB / 0.5825 GB, free: 2.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.4167, allocations: 26.7 kB / 0.5825 GB, free: 2.242 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-06/0.4167, allocations: 80.14 kB / 0.5826 GB, free: 2.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.4167, allocations: 5.188 kB / 0.5826 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.4167, allocations: 16.67 kB / 0.5826 GB, free: 2.137 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.4168, allocations: 315.8 kB / 0.5829 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.4168, allocations: 0.7031 kB / 0.5829 GB, free: 1.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-06/0.4168, allocations: 1.781 kB / 0.5829 GB, free: 1.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.263e-05/0.4168, allocations: 7.688 kB / 0.5829 GB, free: 1.812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4168, allocations: 0.7188 kB / 0.5829 GB, free: 1.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.384e-05/0.4169, allocations: 35.67 kB / 0.583 GB, free: 1.777 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4169, allocations: 6.766 kB / 0.583 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4169, allocations: 7.938 kB / 0.583 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4169, allocations: 0 / 0.583 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.417, allocations: 2.172 kB / 0.583 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.417, allocations: 5.328 kB / 0.583 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-06/0.417, allocations: 0 / 0.583 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.417, allocations: 1.5 kB / 0.583 GB, free: 1.766 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 (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.442e-05/0.4171, allocations: 112.9 kB / 0.5831 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.4171, allocations: 5.078 kB / 0.5831 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.4171, allocations: 46.59 kB / 0.5831 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.4171, allocations: 0.7188 kB / 0.5831 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4172, allocations: 1.344 kB / 0.5831 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4172, allocations: 0.7031 kB / 0.5831 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.24e-05/0.4172, allocations: 143.8 kB / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4172, allocations: 0.875 kB / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.4172, allocations: 5.828 kB / 0.5833 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4172, allocations: 1.891 kB / 0.5833 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.4172, allocations: 3.938 kB / 0.5833 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4172, allocations: 0 / 0.5833 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4173, allocations: 5.281 kB / 0.5833 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.283e-05/0.4173, allocations: 56.67 kB / 0.5834 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.4173, allocations: 78.78 kB / 0.5834 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.4173, allocations: 5.984 kB / 0.5834 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-06/0.4173, allocations: 0 / 0.5834 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-06/0.4174, allocations: 0.7969 kB / 0.5834 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.4174, allocations: 4.812 kB / 0.5834 GB, free: 1.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.518e-06/0.4174, allocations: 79.31 kB / 0.5835 GB, free: 1.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4174, allocations: 0.9375 kB / 0.5835 GB, free: 1.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000225/0.4176, allocations: 19.77 kB / 0.5835 GB, free: 1.145 MB / 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 (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.0002739/0.4179, allocations: 0.6207 MB / 0.5841 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.819e-05/0.418, allocations: 4.859 kB / 0.5841 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.418, allocations: 0 / 0.5841 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-06/0.418, allocations: 2.766 kB / 0.5842 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.4181, allocations: 0.8438 kB / 0.5842 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.4183, allocations: 121.9 kB / 0.5843 GB, free: 404 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.4185, allocations: 0.6755 MB / 0.5849 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.127e-06/0.4185, allocations: 0 / 0.5849 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.4185, allocations: 9.016 kB / 0.5849 GB, free: 15.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4185, allocations: 0 / 0.5849 GB, free: 15.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3345/0.753, allocations: 1.104 MB / 0.586 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.753, allocations: 6.438 kB / 0.586 GB, free: 15.36 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)