Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.964/0.964, allocations: 175.7 MB / 480.1 MB, free: 2.824 MB / 366.1 MB " [Timeout remaining time 179] 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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 68.39 kB / 0.6678 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1535, allocations: 94.53 MB / 0.7601 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002291/0.1558, allocations: 1.444 MB / 0.7615 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004689/0.1562, allocations: 257.3 kB / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.1563, allocations: 0 / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.1563, allocations: 0 / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.1563, allocations: 3.938 kB / 0.7617 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1566, allocations: 55.81 kB / 0.7618 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.1567, allocations: 23.92 kB / 0.7618 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.859e-05/0.1567, allocations: 7.984 kB / 0.7618 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.1568, allocations: 4 kB / 0.7618 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.1568, allocations: 15.92 kB / 0.7618 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1568, allocations: 8 kB / 0.7618 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.157, allocations: 59.88 kB / 0.7619 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.157, allocations: 11.98 kB / 0.7619 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.157, allocations: 7.938 kB / 0.7619 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1571, allocations: 51.8 kB / 0.762 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1571, allocations: 0 / 0.762 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1571, allocations: 0 / 0.762 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.1571, allocations: 0 / 0.762 GB, free: 14.86 MB / 0.5762 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.0004243/0.1575, allocations: 347.3 kB / 0.7623 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1576, allocations: 16.03 kB / 0.7623 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1576, allocations: 30.75 kB / 0.7623 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.1576, allocations: 4.938 kB / 0.7624 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1577, allocations: 172.3 kB / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1578, allocations: 384 / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1578, allocations: 4.375 kB / 0.7625 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1579, allocations: 54.17 kB / 0.7626 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1579, allocations: 3.938 kB / 0.7626 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1579, allocations: 0 / 0.7626 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.1579, allocations: 0 / 0.7626 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1581, allocations: 39.91 kB / 0.7626 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1584, allocations: 245 kB / 0.7628 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1585, allocations: 38.5 kB / 0.7629 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.1586, allocations: 28.84 kB / 0.7629 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/0.1592, allocations: 453.5 kB / 0.7633 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1592, allocations: 30.56 kB / 0.7634 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1592, allocations: 0 / 0.7634 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003314/0.1596, allocations: 85.64 kB / 0.7635 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1596, allocations: 51.41 kB / 0.7635 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.1597, allocations: 101.8 kB / 0.7636 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1597, allocations: 29.7 kB / 0.7636 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.1597, allocations: 84.08 kB / 0.7637 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.1597, allocations: 3.953 kB / 0.7637 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.1598, allocations: 21.84 kB / 0.7637 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1599, allocations: 310.8 kB / 0.764 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.16, allocations: 19.91 kB / 0.7641 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.1601, allocations: 19.98 kB / 0.7641 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1602, allocations: 32.83 kB / 0.7641 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1602, allocations: 8 kB / 0.7641 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.1604, allocations: 65.66 kB / 0.7642 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1604, allocations: 4 kB / 0.7642 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.1604, allocations: 0 / 0.7642 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.1604, allocations: 0 / 0.7642 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.1605, allocations: 11.98 kB / 0.7642 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1605, allocations: 0 / 0.7642 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1605, allocations: 15.88 kB / 0.7642 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1605, allocations: 4.031 kB / 0.7642 GB, free: 12.25 MB / 0.5762 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 8e-05/0.1606, allocations: 117.8 kB / 0.7643 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1606, allocations: 0 / 0.7643 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.1608, allocations: 72.72 kB / 0.7644 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1609, allocations: 4 kB / 0.7644 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1609, allocations: 0 / 0.7644 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1609, allocations: 4.219 kB / 0.7644 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.161, allocations: 161.6 kB / 0.7645 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.161, allocations: 3.984 kB / 0.7646 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.1611, allocations: 4 kB / 0.7646 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1611, allocations: 4 kB / 0.7646 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1611, allocations: 0 / 0.7646 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.1611, allocations: 3.984 kB / 0.7646 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1611, allocations: 4 kB / 0.7646 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1613, allocations: 163.4 kB / 0.7647 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1614, allocations: 81.09 kB / 0.7648 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.1614, allocations: 7.938 kB / 0.7648 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.1614, allocations: 4 kB / 0.7648 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.1615, allocations: 3.984 kB / 0.7648 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.1615, allocations: 4 kB / 0.7648 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.1615, allocations: 79.28 kB / 0.7649 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1615, allocations: 11.97 kB / 0.7649 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002148/0.1617, allocations: 15.95 kB / 0.7649 GB, free: 11.41 MB / 0.5762 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.0005921/0.1623, allocations: 0.7201 MB / 0.7656 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.1625, allocations: 35.97 kB / 0.7657 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1625, allocations: 0 / 0.7657 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.1626, allocations: 19.97 kB / 0.7657 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1628, allocations: 6.234 kB / 0.7657 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.1631, allocations: 143 kB / 0.7658 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1634, allocations: 0.6768 MB / 0.7665 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.1635, allocations: 0 / 0.7665 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.1635, allocations: 11.44 kB / 0.7665 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1635, allocations: 0 / 0.7665 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1859, allocations: 1.5 MB / 0.768 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.252, allocations: 6.109 kB / 0.768 GB, free: 8.285 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.650804414006416]