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/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.00134/0.00134, allocations: 106.1 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.001344/0.001344, 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.467/1.467, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.078/1.078, allocations: 175.7 MB / 478.4 MB, free: 3.445 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 74.42 kB / 0.6652 GB, free: 11.22 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1708, allocations: 94.55 MB / 0.7576 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001704/0.1725, allocations: 0.5773 MB / 0.7581 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005433/0.1731, allocations: 195.8 kB / 0.7583 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.1731, allocations: 0 / 0.7583 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.1731, allocations: 0 / 0.7583 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.1731, allocations: 0 / 0.7583 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1735, allocations: 63.81 kB / 0.7584 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.078e-05/0.1735, allocations: 4 kB / 0.7584 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.1736, allocations: 0 / 0.7584 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.1736, allocations: 3.938 kB / 0.7584 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.1736, allocations: 0 / 0.7584 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-06/0.1736, allocations: 4 kB / 0.7584 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.1738, allocations: 63.86 kB / 0.7585 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-06/0.1738, allocations: 0 / 0.7585 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.1738, allocations: 4 kB / 0.7585 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1739, allocations: 36.16 kB / 0.7585 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1739, allocations: 4 kB / 0.7585 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1739, allocations: 0 / 0.7585 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.1739, allocations: 0 / 0.7585 GB, free: 0.5977 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.0003312/0.1743, allocations: 319.5 kB / 0.7588 GB, free: 240 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1743, allocations: 12.03 kB / 0.7588 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.1743, allocations: 30.75 kB / 0.7588 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.1744, allocations: 0.9375 kB / 0.7589 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1745, allocations: 164.3 kB / 0.759 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1745, allocations: 4.359 kB / 0.759 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1745, allocations: 384 / 0.759 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.1746, allocations: 34.27 kB / 0.759 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1746, allocations: 3.938 kB / 0.759 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.1746, allocations: 0 / 0.759 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1746, allocations: 7.938 kB / 0.7591 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.1746, allocations: 3.938 kB / 0.7591 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1748, allocations: 149.7 kB / 0.7592 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.1748, allocations: 18.52 kB / 0.7592 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.1749, allocations: 12.84 kB / 0.7592 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008487/0.1757, allocations: 457.6 kB / 0.7597 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.1757, allocations: 34.55 kB / 0.7597 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1758, allocations: 0 / 0.7597 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.1759, allocations: 37.64 kB / 0.7597 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1759, allocations: 51.41 kB / 0.7598 GB, free: 15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.176, allocations: 89.86 kB / 0.7599 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.176, allocations: 29.64 kB / 0.7599 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.176, allocations: 84.14 kB / 0.76 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1761, allocations: 3.953 kB / 0.76 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.1761, allocations: 13.72 kB / 0.76 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1762, allocations: 311 kB / 0.7603 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.1762, allocations: 8 kB / 0.7603 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.1763, allocations: 3.984 kB / 0.7603 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.1763, allocations: 8.859 kB / 0.7603 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1763, allocations: 0 / 0.7603 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.199e-05/0.1763, allocations: 29.7 kB / 0.7603 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1763, allocations: 4 kB / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1764, allocations: 3.938 kB / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1764, allocations: 0 / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.1764, allocations: 12.03 kB / 0.7604 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1764, allocations: 0 / 0.7604 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.1764, allocations: 0 / 0.7604 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1764, allocations: 0 / 0.7604 GB, free: 14.37 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 7.958e-05/0.1765, allocations: 117.8 kB / 0.7605 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.1765, allocations: 0 / 0.7605 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.1766, allocations: 40.7 kB / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1766, allocations: 0 / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1766, allocations: 0 / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1766, allocations: 8.016 kB / 0.7605 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1767, allocations: 149.7 kB / 0.7607 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1767, allocations: 0 / 0.7607 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.1767, allocations: 4 kB / 0.7607 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1767, allocations: 3.938 kB / 0.7607 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1767, allocations: 3.938 kB / 0.7607 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1767, allocations: 0 / 0.7607 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1767, allocations: 3.938 kB / 0.7607 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.168e-05/0.1768, allocations: 61.12 kB / 0.7607 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.1769, allocations: 81.05 kB / 0.7608 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1769, allocations: 7.938 kB / 0.7608 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.1769, allocations: 0 / 0.7608 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.1769, allocations: 4 kB / 0.7608 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1769, allocations: 4 kB / 0.7608 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.1769, allocations: 77.19 kB / 0.7609 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1769, allocations: 0 / 0.7609 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001957/0.1771, allocations: 8 kB / 0.7609 GB, free: 13.7 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.000486/0.1776, allocations: 0.6201 MB / 0.7615 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.146e-05/0.1777, allocations: 8.031 kB / 0.7615 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1777, allocations: 0 / 0.7615 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-06/0.1777, allocations: 4 kB / 0.7615 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.1778, allocations: 0 / 0.7615 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.1781, allocations: 118.6 kB / 0.7616 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1784, allocations: 0.6729 MB / 0.7623 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.829e-06/0.1785, allocations: 3.938 kB / 0.7623 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.1785, allocations: 7.438 kB / 0.7623 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.1785, allocations: 128 / 0.7623 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.202, allocations: 1.145 MB / 0.7634 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.286, allocations: 14.12 kB / 0.7634 GB, free: 11.09 MB / 0.5762 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.124220605008304] Failed to read output from testmodel.py, exit status != 0: 8.356658163946122 8.384937069 8.205896171 Calling exit ...