Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8673/0.8673, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7109/0.7109, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.6181 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.731e-05, allocations: 4.812 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.002012/0.00204, allocations: 0.5961 MB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.002414, allocations: 183.4 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.002427, allocations: 0 / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.002443, allocations: 0 / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.002449, allocations: 0 / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.002816, allocations: 59.72 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.002856, allocations: 0 / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.002898, allocations: 3.984 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.002923, allocations: 0 / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.036e-05/0.002943, allocations: 8 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.002953, allocations: 3.984 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.003094, allocations: 55.88 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.003107, allocations: 4 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.00312, allocations: 0 / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003228, allocations: 35.94 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.003231, allocations: 3.938 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.854e-06/0.003233, allocations: 0 / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.003238, allocations: 0 / 0.6191 GB, free: 12.63 MB / 0.5886 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.0002302/0.003468, allocations: 250.3 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.003507, allocations: 8.031 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.003535, allocations: 38.75 kB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.003557, allocations: 0.9375 kB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.248e-05/0.00361, allocations: 105.7 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.003619, allocations: 384 / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.003626, allocations: 4.359 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.993e-05/0.003706, allocations: 30.27 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003714, allocations: 192 / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.003726, allocations: 4.375 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.003732, allocations: 4.125 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548e-05/0.003748, allocations: 0 / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.659e-05/0.003845, allocations: 120.8 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.003879, allocations: 18.52 kB / 0.6196 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.003893, allocations: 8.953 kB / 0.6196 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.004316, allocations: 79.91 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.004335, allocations: 30.56 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.004336, allocations: 4 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001159/0.004451, allocations: 37.69 kB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.00448, allocations: 59.34 kB / 0.6198 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.284e-05/0.004503, allocations: 93.8 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.004512, allocations: 25.7 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.004528, allocations: 80.14 kB / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.00455, allocations: 0 / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.004572, allocations: 17.66 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.004641, allocations: 310.8 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.00465, allocations: 4 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.004656, allocations: 4.125 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.004679, allocations: 12.86 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004681, allocations: 0 / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.142e-05/0.004712, allocations: 33.69 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004723, allocations: 8 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.004727, allocations: 3.938 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.004738, allocations: 0 / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.42e-05/0.004772, allocations: 0 / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.004779, allocations: 11.88 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-06/0.004786, allocations: 96 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.00479, allocations: 4 kB / 0.6204 GB, free: 11.05 MB / 0.5886 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 4.869e-05/0.004839, allocations: 106.8 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-06/0.004843, allocations: 4 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.004902, allocations: 44.64 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.004903, allocations: 4 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.004908, allocations: 3.938 kB / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.00491, allocations: 0 / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.373e-05/0.004964, allocations: 112.8 kB / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004964, allocations: 0 / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.004971, allocations: 12.02 kB / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.004972, allocations: 0 / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.004977, allocations: 0 / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004978, allocations: 0 / 0.6207 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.004979, allocations: 3.938 kB / 0.6207 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.173e-05/0.005021, allocations: 65.03 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-06/0.005024, allocations: 0 / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.005033, allocations: 3.984 kB / 0.6208 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-06/0.005037, allocations: 3.984 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.00505, allocations: 7.938 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.005051, allocations: 0 / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.921e-05/0.005071, allocations: 79.31 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005071, allocations: 0 / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001303/0.005201, allocations: 15.94 kB / 0.6209 GB, free: 10.51 MB / 0.5886 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.0002848/0.005486, allocations: 0.6046 MB / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.438e-05/0.00554, allocations: 12.02 kB / 0.6215 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005541, allocations: 3.938 kB / 0.6215 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.005545, allocations: 0 / 0.6215 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.00564, allocations: 13.91 kB / 0.6215 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.005856, allocations: 102.7 kB / 0.6216 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.005885, allocations: 63.28 kB / 0.6217 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.744e-06/0.005893, allocations: 0 / 0.6217 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.005906, allocations: 8.5 kB / 0.6217 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.005906, allocations: 0 / 0.6217 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.01958, allocations: 1.776 MB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.728, allocations: 18.17 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.298105983063579] Failed to read output from testmodel.py, exit status != 0: 6.8077916242182255 6.816040594 6.811195866 Calling exit ...