Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 103.9 kB / 16.45 MB, free: 6.445 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.002327/0.002327, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] 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 1.101/1.101, allocations: 175.7 MB / 478.4 MB, free: 3.449 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.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 78.22 kB / 0.6653 GB, free: 11.22 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1673, allocations: 94.52 MB / 0.7576 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001693/0.169, allocations: 0.5912 MB / 0.7581 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004243/0.1694, allocations: 187.8 kB / 0.7583 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-06/0.1694, allocations: 0 / 0.7583 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1695, allocations: 0 / 0.7583 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.1695, allocations: 0 / 0.7583 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.1698, allocations: 51.83 kB / 0.7584 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.217e-05/0.1698, allocations: 3.984 kB / 0.7584 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1699, allocations: 4 kB / 0.7584 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.054e-05/0.1699, allocations: 0 / 0.7584 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.574e-05/0.1699, allocations: 3.938 kB / 0.7584 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-06/0.1699, allocations: 0 / 0.7584 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.17, allocations: 67.88 kB / 0.7584 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-06/0.17, allocations: 0 / 0.7584 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.098e-05/0.1701, allocations: 0 / 0.7584 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.1702, allocations: 36.16 kB / 0.7585 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1702, allocations: 4 kB / 0.7585 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1702, allocations: 7.938 kB / 0.7585 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1702, allocations: 0 / 0.7585 GB, free: 0.5938 MB / 0.5606 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.0003582/0.1705, allocations: 311.5 kB / 0.7588 GB, free: 244 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1706, allocations: 12.03 kB / 0.7588 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.1706, allocations: 34.73 kB / 0.7588 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.729e-05/0.1706, allocations: 0.9375 kB / 0.7588 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1707, allocations: 160.4 kB / 0.759 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.1707, allocations: 384 / 0.759 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-06/0.1708, allocations: 4.312 kB / 0.759 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.43e-05/0.1708, allocations: 34.27 kB / 0.759 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1708, allocations: 7.922 kB / 0.759 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-06/0.1708, allocations: 0 / 0.759 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1709, allocations: 0 / 0.759 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.1709, allocations: 8 kB / 0.759 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.171, allocations: 145.7 kB / 0.7592 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.001e-05/0.1711, allocations: 14.58 kB / 0.7592 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.1711, allocations: 20.83 kB / 0.7592 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/0.1718, allocations: 449.5 kB / 0.7596 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1719, allocations: 34.55 kB / 0.7597 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1719, allocations: 0 / 0.7597 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001165/0.172, allocations: 41.73 kB / 0.7597 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.172, allocations: 51.41 kB / 0.7598 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.49e-05/0.1721, allocations: 93.86 kB / 0.7599 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1721, allocations: 25.7 kB / 0.7599 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.1721, allocations: 80.14 kB / 0.76 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.1721, allocations: 3.953 kB / 0.76 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1722, allocations: 13.72 kB / 0.76 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1723, allocations: 314.8 kB / 0.7603 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.1723, allocations: 7.969 kB / 0.7603 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.1723, allocations: 0 / 0.7603 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.1723, allocations: 8.859 kB / 0.7603 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1723, allocations: 0 / 0.7603 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.941e-05/0.1724, allocations: 33.7 kB / 0.7603 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1724, allocations: 8 kB / 0.7603 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1724, allocations: 3.938 kB / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1724, allocations: 0 / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.195e-05/0.1725, allocations: 4 kB / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.1725, allocations: 4.094 kB / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.1725, allocations: 3.984 kB / 0.7603 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1725, allocations: 7.938 kB / 0.7603 GB, free: 14.36 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 (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 6.812e-05/0.1726, allocations: 105.8 kB / 0.7605 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.1726, allocations: 0 / 0.7605 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.348e-05/0.1726, allocations: 48.64 kB / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1726, allocations: 0 / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1726, allocations: 0 / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1726, allocations: 4.031 kB / 0.7605 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.1727, allocations: 149.7 kB / 0.7606 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1728, allocations: 0 / 0.7606 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.1728, allocations: 0 / 0.7606 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1728, allocations: 0 / 0.7606 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.1728, allocations: 3.938 kB / 0.7606 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1728, allocations: 4 kB / 0.7607 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1728, allocations: 3.938 kB / 0.7607 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.544e-05/0.1728, allocations: 65.06 kB / 0.7607 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1729, allocations: 77.11 kB / 0.7608 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1729, allocations: 7.938 kB / 0.7608 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.1729, allocations: 0 / 0.7608 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-06/0.1729, allocations: 0 / 0.7608 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1729, allocations: 0 / 0.7608 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.1729, allocations: 77.19 kB / 0.7609 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1729, allocations: 0 / 0.7609 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001947/0.1731, allocations: 15.98 kB / 0.7609 GB, free: 13.71 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 (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.0004482/0.1736, allocations: 0.6201 MB / 0.7615 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.914e-05/0.1736, allocations: 4 kB / 0.7615 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1736, allocations: 4.094 kB / 0.7615 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.651e-06/0.1737, allocations: 0 / 0.7615 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1738, allocations: 6.344 kB / 0.7615 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.174, allocations: 114.6 kB / 0.7616 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1743, allocations: 0.669 MB / 0.7623 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.799e-06/0.1743, allocations: 0 / 0.7623 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.1743, allocations: 7.438 kB / 0.7623 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1744, allocations: 0 / 0.7623 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.1973, allocations: 1.145 MB / 0.7634 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.235, allocations: 13.72 kB / 0.7634 GB, free: 11.11 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.173656743951142] Failed to read output from testmodel.py, exit status != 0: 8.301915763877332 8.322751249 8.148684437 Calling exit ...