Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001729/0.001729, allocations: 108.6 kB / 16.45 MB, free: 6.035 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.001936/0.001936, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.486/1.486, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.8 MB / 478.4 MB, free: 8.598 MB / 382.1 MB " [Timeout remaining time 178] 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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003075/0.003075, allocations: 72.47 kB / 0.6652 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2271, allocations: 94.53 MB / 0.7575 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.003025/0.2302, allocations: 1.442 MB / 0.7589 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005716/0.2307, allocations: 255.1 kB / 0.7592 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.2308, allocations: 0 / 0.7592 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.2308, allocations: 4 kB / 0.7592 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.2308, allocations: 7.938 kB / 0.7592 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.2312, allocations: 59.81 kB / 0.7592 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.2313, allocations: 31.86 kB / 0.7593 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.2314, allocations: 0 / 0.7593 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.2314, allocations: 11.98 kB / 0.7593 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.2314, allocations: 11.94 kB / 0.7593 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.435e-06/0.2314, allocations: 0 / 0.7593 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.2316, allocations: 63.86 kB / 0.7594 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.2316, allocations: 11.98 kB / 0.7594 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.2316, allocations: 11.94 kB / 0.7594 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4058/0.6375, allocations: 45.61 kB / 0.7594 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.6375, allocations: 3.797 kB / 0.7594 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.826e-06/0.6375, allocations: 0 / 0.7594 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.6375, allocations: 0 / 0.7594 GB, free: 8.109 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.0005525/0.638, allocations: 345.3 kB / 0.7598 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.6381, allocations: 9.656 kB / 0.7598 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.6381, allocations: 31.86 kB / 0.7598 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.6382, allocations: 2.156 kB / 0.7598 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6383, allocations: 170.3 kB / 0.76 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.6383, allocations: 2.5 kB / 0.76 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.6383, allocations: 1.562 kB / 0.76 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6385, allocations: 52.14 kB / 0.76 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6385, allocations: 5.062 kB / 0.76 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.6385, allocations: 0.6875 kB / 0.76 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.6386, allocations: 2.625 kB / 0.76 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.6388, allocations: 38.95 kB / 0.7601 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.6391, allocations: 247.2 kB / 0.7603 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.6393, allocations: 40.34 kB / 0.7603 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.6394, allocations: 22.44 kB / 0.7604 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000863/0.6403, allocations: 462.3 kB / 0.7608 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.6403, allocations: 37.67 kB / 0.7608 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.6403, allocations: 0 / 0.7608 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004997/0.6408, allocations: 80.7 kB / 0.7609 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.6408, allocations: 54.17 kB / 0.761 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.6409, allocations: 104.6 kB / 0.7611 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.6409, allocations: 25.7 kB / 0.7611 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.6409, allocations: 82 kB / 0.7612 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.641, allocations: 8.891 kB / 0.7612 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.641, allocations: 12.5 kB / 0.7612 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.298e-05/0.6411, allocations: 319.5 kB / 0.7615 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.6412, allocations: 20.62 kB / 0.7615 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.6412, allocations: 18.34 kB / 0.7615 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.6414, allocations: 37.45 kB / 0.7616 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6414, allocations: 4.438 kB / 0.7616 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.6416, allocations: 64.11 kB / 0.7616 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.6416, allocations: 8.234 kB / 0.7616 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6416, allocations: 3.234 kB / 0.7616 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.6417, allocations: 1.219 kB / 0.7616 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.6418, allocations: 19 kB / 0.7617 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.6418, allocations: 0 / 0.7617 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.6418, allocations: 6.484 kB / 0.7617 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.6418, allocations: 2.016 kB / 0.7617 GB, free: 5.992 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 5.714e-05/0.6419, allocations: 112.5 kB / 0.7618 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.6419, allocations: 6.641 kB / 0.7618 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.6421, allocations: 70.34 kB / 0.7618 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6421, allocations: 1.25 kB / 0.7618 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6421, allocations: 2.688 kB / 0.7618 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6422, allocations: 0.6094 kB / 0.7618 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.6423, allocations: 162.1 kB / 0.762 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6423, allocations: 5.688 kB / 0.762 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.6424, allocations: 9.25 kB / 0.762 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6424, allocations: 0 / 0.762 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.6424, allocations: 1.984 kB / 0.762 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6424, allocations: 1.906 kB / 0.762 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6424, allocations: 0 / 0.762 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.6426, allocations: 162.2 kB / 0.7622 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.6426, allocations: 85.52 kB / 0.7623 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.6426, allocations: 1.766 kB / 0.7623 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.6427, allocations: 5.281 kB / 0.7623 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.6427, allocations: 10.31 kB / 0.7623 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.6428, allocations: 0.8125 kB / 0.7623 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.098e-05/0.6428, allocations: 83.2 kB / 0.7624 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6428, allocations: 0 / 0.7624 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002727/0.6431, allocations: 22.83 kB / 0.7624 GB, free: 5.332 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.0004908/0.6435, allocations: 0.7148 MB / 0.7631 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.6438, allocations: 43.41 kB / 0.7631 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6438, allocations: 0 / 0.7631 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.6439, allocations: 20.44 kB / 0.7631 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.6441, allocations: 1.594 kB / 0.7631 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.6446, allocations: 138.8 kB / 0.7633 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.6451, allocations: 0.679 MB / 0.7639 GB, free: 19.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.6451, allocations: 7.984 kB / 0.7639 GB, free: 19.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.6452, allocations: 12.55 kB / 0.764 GB, free: 19.81 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.6452, allocations: 0.6875 kB / 0.764 GB, free: 19.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.6692, allocations: 1.509 MB / 0.7654 GB, free: 19.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.709, allocations: 4.531 kB / 0.7654 GB, free: 19.45 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.666629699990153] Failed to read output from testmodel.py, exit status != 0: 8.77744234027341 8.787355769 8.147429884 Calling exit ...