Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.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.0007637/0.0007637, 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.0007697/0.0007697, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8973/0.8973, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.6952/0.6952, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.719e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001709/0.001726, allocations: 1.467 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003884/0.002115, allocations: 227.3 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.002142, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.002169, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.002207, allocations: 7.922 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.002511, allocations: 59.77 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.648e-05/0.002568, allocations: 19.94 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.727e-05/0.002655, allocations: 11.97 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.0027, allocations: 8 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.002736, allocations: 11.92 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.002747, allocations: 4 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.002854, allocations: 51.89 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.002868, allocations: 11.98 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.002882, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.003002, allocations: 67.78 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003004, allocations: 4 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003005, allocations: 0 / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.003008, allocations: 0 / 0.62 GB, free: 11.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00032/0.003328, allocations: 264.4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.003364, allocations: 8.031 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.003391, allocations: 34.75 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.003412, allocations: 8.875 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/0.003484, allocations: 109.7 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003495, allocations: 8.312 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.003501, allocations: 384 / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.004587, allocations: 54.23 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.004603, allocations: 192 / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.004622, allocations: 384 / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.00463, allocations: 4.125 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.00484, allocations: 31.97 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.005287, allocations: 216 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.005476, allocations: 38.5 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.00556, allocations: 28.88 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.006086, allocations: 75.92 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.006114, allocations: 34.5 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.494e-06/0.006117, allocations: 0 / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003493/0.006466, allocations: 89.59 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.006507, allocations: 55.34 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.006584, allocations: 105.8 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.006597, allocations: 25.7 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.006642, allocations: 84.08 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.006664, allocations: 3.953 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.006704, allocations: 17.72 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.006802, allocations: 310.8 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.006871, allocations: 28.03 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.006925, allocations: 15.98 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.007043, allocations: 36.83 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007046, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.007229, allocations: 69.62 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.00725, allocations: 12 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.007256, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.007271, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.007358, allocations: 7.984 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.007364, allocations: 0 / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.767e-05/0.007402, allocations: 7.984 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.007411, allocations: 8 kB / 0.6217 GB, free: 9.746 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 (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 7.272e-05/0.007484, allocations: 106.8 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.00751, allocations: 3.938 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.007722, allocations: 80.92 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.007725, allocations: 0 / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.007731, allocations: 4 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007734, allocations: 0 / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.007882, allocations: 120.8 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.007884, allocations: 4 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.961e-05/0.007934, allocations: 15.92 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.007939, allocations: 3.938 kB / 0.622 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.007946, allocations: 4.031 kB / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007948, allocations: 0 / 0.622 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.007951, allocations: 4 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.008151, allocations: 159.5 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.008161, allocations: 3.938 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.008172, allocations: 0 / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.008243, allocations: 7.984 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.008282, allocations: 4 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.008286, allocations: 8.031 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.008324, allocations: 79.28 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.008324, allocations: 0 / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002872/0.008611, allocations: 19.92 kB / 0.6223 GB, free: 9.055 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 (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.0005707/0.009182, allocations: 0.7123 MB / 0.623 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.009368, allocations: 43.89 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.00937, allocations: 0 / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.206e-05/0.009432, allocations: 15.98 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.009689, allocations: 11.88 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.01016, allocations: 134.6 kB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.01021, allocations: 59.48 kB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.01024, allocations: 0 / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.01028, allocations: 20.48 kB / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of SimCode: time 8.61e-07/0.01028, allocations: 0 / 0.6233 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.02489, allocations: 2.171 MB / 0.6254 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.778/6.802, allocations: 13.67 kB / 0.6254 GB, free: 5.93 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.405293818563223] Failed to read output from testmodel.py, exit status != 0: 6.882918957620859 6.896458468 6.891789369 Calling exit ...