Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_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.001152/0.001152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001045/0.001045, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6993/0.6993, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.66 kB / 0.5014 GB, free: 8.965 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1565, allocations: 80.2 MB / 0.5797 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002057/0.1586, allocations: 0.6427 MB / 0.5803 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005313/0.1591, allocations: 187.4 kB / 0.5805 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.21e-05/0.1592, allocations: 3.938 kB / 0.5805 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1592, allocations: 0 / 0.5805 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.1592, allocations: 0 / 0.5805 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.1597, allocations: 43.91 kB / 0.5805 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.792e-05/0.1597, allocations: 0 / 0.5805 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1598, allocations: 4 kB / 0.5805 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.1598, allocations: 4 kB / 0.5805 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.075e-05/0.1598, allocations: 0 / 0.5805 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.423e-06/0.1598, allocations: 3.984 kB / 0.5806 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.16, allocations: 63.88 kB / 0.5806 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.16, allocations: 0 / 0.5806 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.16, allocations: 0 / 0.5806 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1602, allocations: 39.94 kB / 0.5806 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1602, allocations: 0 / 0.5806 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1602, allocations: 0 / 0.5806 GB, free: 7.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1602, allocations: 0 / 0.5806 GB, free: 7.992 MB / 494.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.0003027/0.1605, allocations: 323.6 kB / 0.581 GB, free: 7.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1605, allocations: 12.03 kB / 0.581 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.1606, allocations: 30.75 kB / 0.581 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.1606, allocations: 4.875 kB / 0.581 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.1608, allocations: 168.3 kB / 0.5812 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1608, allocations: 4.375 kB / 0.5812 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.1608, allocations: 384 / 0.5812 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.1609, allocations: 32.03 kB / 0.5812 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1609, allocations: 3.938 kB / 0.5812 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1609, allocations: 7.984 kB / 0.5812 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1609, allocations: 0 / 0.5812 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.161, allocations: 0 / 0.5812 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.1611, allocations: 145.7 kB / 0.5813 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.1611, allocations: 22.52 kB / 0.5814 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.1612, allocations: 4.859 kB / 0.5814 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007358/0.1619, allocations: 461.5 kB / 0.5818 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1619, allocations: 30.56 kB / 0.5818 GB, free: 6.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.1619, allocations: 0 / 0.5818 GB, free: 6.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.1621, allocations: 37.64 kB / 0.5819 GB, free: 6.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1621, allocations: 59.34 kB / 0.5819 GB, free: 6.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.1622, allocations: 89.98 kB / 0.582 GB, free: 6.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1622, allocations: 29.7 kB / 0.5821 GB, free: 6.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.1622, allocations: 80.14 kB / 0.5821 GB, free: 6.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1623, allocations: 7.891 kB / 0.5821 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.1623, allocations: 9.719 kB / 0.5821 GB, free: 6.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1625, allocations: 314.8 kB / 0.5824 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.1625, allocations: 0 / 0.5824 GB, free: 5.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.1625, allocations: 4 kB / 0.5824 GB, free: 5.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.1625, allocations: 16.92 kB / 0.5825 GB, free: 5.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1625, allocations: 0 / 0.5825 GB, free: 5.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.102e-05/0.1626, allocations: 29.7 kB / 0.5825 GB, free: 5.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1626, allocations: 4 kB / 0.5825 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1626, allocations: 7.922 kB / 0.5825 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1626, allocations: 7.938 kB / 0.5825 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.628e-05/0.1627, allocations: 0 / 0.5825 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1627, allocations: 0 / 0.5825 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-06/0.1627, allocations: 0 / 0.5825 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1627, allocations: 0 / 0.5825 GB, free: 5.758 MB / 494.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 7.435e-05/0.1628, allocations: 114.5 kB / 0.5826 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.1628, allocations: 3.938 kB / 0.5826 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.1629, allocations: 44.75 kB / 0.5827 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1629, allocations: 0 / 0.5827 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1629, allocations: 0 / 0.5827 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1629, allocations: 0 / 0.5827 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.367e-05/0.163, allocations: 145.7 kB / 0.5828 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.163, allocations: 0 / 0.5828 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.163, allocations: 0 / 0.5828 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.163, allocations: 4.031 kB / 0.5828 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.163, allocations: 3.938 kB / 0.5828 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.163, allocations: 7.922 kB / 0.5828 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1631, allocations: 0 / 0.5828 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.99e-05/0.1631, allocations: 57.14 kB / 0.5829 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1632, allocations: 77.11 kB / 0.583 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1632, allocations: 3.938 kB / 0.583 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.1632, allocations: 4.031 kB / 0.583 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.1632, allocations: 7.984 kB / 0.583 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.1632, allocations: 0 / 0.583 GB, free: 5.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.402e-05/0.1633, allocations: 79.22 kB / 0.583 GB, free: 5.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1633, allocations: 0 / 0.583 GB, free: 5.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.1635, allocations: 12 kB / 0.5831 GB, free: 5.098 MB / 494.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.0004315/0.1639, allocations: 0.6127 MB / 0.5837 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.164, allocations: 8 kB / 0.5837 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.164, allocations: 0 / 0.5837 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.769e-06/0.164, allocations: 4 kB / 0.5837 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1641, allocations: 4.141 kB / 0.5837 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.1644, allocations: 113.6 kB / 0.5838 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1647, allocations: 0.6767 MB / 0.5844 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.319e-05/0.1647, allocations: 4 kB / 0.5844 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1647, allocations: 11.42 kB / 0.5844 GB, free: 3.578 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1647, allocations: 0 / 0.5844 GB, free: 3.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.2762, allocations: 1.036 MB / 0.5855 GB, free: 2.664 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.2765, allocations: 190.7 kB / 0.5856 GB, free: 2.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.112, allocations: 0 / 0.5856 GB, free: 2.41 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)