Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.0008466/0.0008466, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001707/0.001707, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8689/0.8689, allocations: 177.2 MB / 202.8 MB, free: 5.574 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.704/0.704, allocations: 154.6 MB / 413.8 MB, free: 0.7656 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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.563e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001819/0.001834, allocations: 1.457 MB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.002219, allocations: 235.2 kB / 0.6198 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.002245, allocations: 0 / 0.6198 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.002271, allocations: 0 / 0.6198 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-05/0.00231, allocations: 11.88 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.002638, allocations: 67.73 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.002695, allocations: 23.94 kB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.002774, allocations: 3.984 kB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.002817, allocations: 8 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.002851, allocations: 11.92 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.002861, allocations: 0 / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.002971, allocations: 67.92 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.002983, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.002999, allocations: 4 kB / 0.62 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.00312, allocations: 71.77 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003122, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003123, allocations: 7.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.003127, allocations: 0 / 0.62 GB, free: 11.72 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.0003198/0.003446, allocations: 262.3 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.003479, allocations: 12.03 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.003506, allocations: 30.75 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.915e-05/0.003525, allocations: 4.891 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.29e-05/0.003598, allocations: 113.7 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.003607, allocations: 384 / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.003613, allocations: 384 / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.003724, allocations: 54.23 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.00373, allocations: 192 / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003736, allocations: 384 / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003741, allocations: 4.125 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.003822, allocations: 35.95 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.004068, allocations: 216 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.945e-05/0.004137, allocations: 34.56 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.004179, allocations: 28.91 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.004656, allocations: 75.91 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004675, allocations: 38.5 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004676, allocations: 0 / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002106/0.004886, allocations: 89.53 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.00491, allocations: 51.41 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/0.004957, allocations: 105.8 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.004965, allocations: 25.7 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.004996, allocations: 88.12 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.00501, allocations: 3.953 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.005032, allocations: 13.72 kB / 0.6213 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.005097, allocations: 314.8 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.005138, allocations: 24.11 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.005171, allocations: 15.97 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.005241, allocations: 40.83 kB / 0.6216 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.005243, allocations: 3.938 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.55e-05/0.005338, allocations: 65.59 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.00535, allocations: 12.09 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.005355, allocations: 0 / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.005364, allocations: 0 / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.999e-05/0.005414, allocations: 7.984 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.00542, allocations: 4 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.005438, allocations: 0 / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.005443, allocations: 4 kB / 0.6217 GB, free: 9.777 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 4.63e-05/0.005489, allocations: 110.8 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.0055, allocations: 3.938 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.005617, allocations: 88.86 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005619, allocations: 0 / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005623, allocations: 0 / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005625, allocations: 0 / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.005716, allocations: 124.8 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005717, allocations: 4 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.005739, allocations: 4 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.005743, allocations: 7.922 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005748, allocations: 0 / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005749, allocations: 4.031 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.00575, allocations: 4 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.005862, allocations: 159.7 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.00587, allocations: 11.92 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.005878, allocations: 0 / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.005911, allocations: 7.938 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.005939, allocations: 3.984 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.005941, allocations: 4 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.388e-05/0.005964, allocations: 83.31 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005964, allocations: 0 / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000154/0.006118, allocations: 19.94 kB / 0.6223 GB, free: 9.074 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.0003545/0.006473, allocations: 0.7123 MB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.006587, allocations: 47.89 kB / 0.6231 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006588, allocations: 3.938 kB / 0.6231 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.006625, allocations: 15.98 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.00678, allocations: 6.391 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.007061, allocations: 134.6 kB / 0.6232 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.007097, allocations: 63.47 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.335e-05/0.00711, allocations: 0 / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.007136, allocations: 12.5 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of SimCode: time 4.5e-07/0.007137, allocations: 0 / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.02018, allocations: 2.177 MB / 0.6254 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.927, allocations: 4.656 kB / 0.6254 GB, free: 5.953 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.546483548358083] Failed to read output from testmodel.py, exit status != 0: 7.006350118666887 7.014847315 7.010090913 Calling exit ...