Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 85.84 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.97e-05, allocations: 4.531 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1606, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5728/0.7334, allocations: 110.7 MB / 0.7486 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.7337, allocations: 75.94 kB / 0.7487 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003814/0.7376, allocations: 1.282 MB / 0.75 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7376, allocations: 0 / 0.75 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7376, allocations: 0 / 0.75 GB, free: 27.52 MB / 0.5105 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.0002573/0.7379, allocations: 325.2 kB / 0.7503 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7379, allocations: 7.719 kB / 0.7503 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.738, allocations: 30.56 kB / 0.7503 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.738, allocations: 4 kB / 0.7503 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.264e-05/0.7381, allocations: 165.4 kB / 0.7505 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.7381, allocations: 11.22 kB / 0.7505 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.7381, allocations: 2.875 kB / 0.7505 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.098e-05/0.7382, allocations: 25.7 kB / 0.7505 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.7382, allocations: 0 / 0.7505 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.7382, allocations: 0 / 0.7505 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7382, allocations: 3.844 kB / 0.7505 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.7383, allocations: 6.328 kB / 0.7505 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.7384, allocations: 149.6 kB / 0.7507 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.426e-05/0.7384, allocations: 26.11 kB / 0.7507 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.7384, allocations: 4.859 kB / 0.7507 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/0.739, allocations: 446.6 kB / 0.7511 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.739, allocations: 38.5 kB / 0.7511 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.7391, allocations: 3.906 kB / 0.7511 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.7392, allocations: 30.33 kB / 0.7512 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.7392, allocations: 54.12 kB / 0.7512 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.7393, allocations: 85 kB / 0.7513 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.7393, allocations: 25.7 kB / 0.7513 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.7393, allocations: 80.14 kB / 0.7514 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.7393, allocations: 3.906 kB / 0.7514 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.7393, allocations: 7.969 kB / 0.7514 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.7394, allocations: 314.5 kB / 0.7517 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.7395, allocations: 7.719 kB / 0.7517 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.7395, allocations: 0 / 0.7517 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.486e-05/0.7395, allocations: 0 / 0.7517 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7395, allocations: 0 / 0.7517 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.062e-05/0.7395, allocations: 39.95 kB / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7396, allocations: 4.969 kB / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7396, allocations: 4.094 kB / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.7396, allocations: 0 / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.7396, allocations: 3.812 kB / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.7396, allocations: 0 / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-06/0.7397, allocations: 0 / 0.7518 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.7397, allocations: 2.578 kB / 0.7518 GB, free: 25.48 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.7397, allocations: 101 kB / 0.7519 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.7397, allocations: 7.797 kB / 0.7519 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.7398, allocations: 47.16 kB / 0.7519 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7398, allocations: 0 / 0.7519 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7399, allocations: 0 / 0.7519 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7399, allocations: 0 / 0.7519 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.74, allocations: 141.7 kB / 0.7521 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.74, allocations: 2.859 kB / 0.7521 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.74, allocations: 5 kB / 0.7521 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.74, allocations: 3.953 kB / 0.7521 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.74, allocations: 0 / 0.7521 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.74, allocations: 0 / 0.7521 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.74, allocations: 0 / 0.7521 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.523e-05/0.7401, allocations: 67.5 kB / 0.7521 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.7401, allocations: 81.05 kB / 0.7522 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.7401, allocations: 3.953 kB / 0.7522 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-06/0.7402, allocations: 0 / 0.7522 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.7402, allocations: 0 / 0.7522 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.7402, allocations: 4.625 kB / 0.7522 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.7402, allocations: 75.28 kB / 0.7523 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7402, allocations: 4.031 kB / 0.7523 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002154/0.7405, allocations: 25.5 kB / 0.7523 GB, free: 24.88 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004765/0.7409, allocations: 0.6264 MB / 0.7529 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.407e-05/0.741, allocations: 3.812 kB / 0.7529 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.741, allocations: 0 / 0.7529 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.75e-06/0.741, allocations: 0 / 0.7529 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.7411, allocations: 10.39 kB / 0.753 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.7414, allocations: 96.67 kB / 0.753 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.7416, allocations: 0.6759 MB / 0.7537 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.477e-05/0.7417, allocations: 3.844 kB / 0.7537 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.7417, allocations: 7.438 kB / 0.7537 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.7417, allocations: 0 / 0.7537 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.7527, allocations: 0.9368 MB / 0.7546 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.753, allocations: 155.2 kB / 0.7548 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/2.152, allocations: 0 / 0.7548 GB, free: 23.06 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)