Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001377/0.001377, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001562/0.001562, allocations: 221.5 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002799/0.002799, allocations: 301.1 kB / 312.7 MB, free: 2.766 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.256/1.256, allocations: 180.6 MB / 0.5369 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003856/0.003856, allocations: 105.4 kB / 0.7396 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.229, allocations: 95.38 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.003116/0.2321, allocations: 1.464 MB / 0.8342 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.2328, allocations: 252 kB / 0.8344 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.2328, allocations: 4 kB / 0.8344 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.2329, allocations: 7.922 kB / 0.8344 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.2329, allocations: 0 / 0.8344 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.2333, allocations: 59.83 kB / 0.8345 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.2334, allocations: 27.86 kB / 0.8345 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2335, allocations: 3.984 kB / 0.8345 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.2336, allocations: 12 kB / 0.8345 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.2336, allocations: 15.92 kB / 0.8345 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.2336, allocations: 0 / 0.8345 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.2338, allocations: 63.88 kB / 0.8346 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2338, allocations: 4 kB / 0.8346 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.2338, allocations: 7.938 kB / 0.8346 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.234, allocations: 56.06 kB / 0.8347 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.234, allocations: 4 kB / 0.8347 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.234, allocations: 0 / 0.8347 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.234, allocations: 0 / 0.8347 GB, free: 6.625 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.0005114/0.2345, allocations: 274.2 kB / 0.8349 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2346, allocations: 9.344 kB / 0.8349 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.2346, allocations: 38.69 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.2347, allocations: 8.891 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2348, allocations: 102.5 kB / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2348, allocations: 4.375 kB / 0.8351 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2348, allocations: 384 / 0.8351 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.235, allocations: 51.91 kB / 0.8351 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.235, allocations: 7.938 kB / 0.8351 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.235, allocations: 3.984 kB / 0.8351 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.235, allocations: 0 / 0.8351 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2352, allocations: 35.95 kB / 0.8352 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.2356, allocations: 220 kB / 0.8354 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2357, allocations: 42.5 kB / 0.8354 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.014e-05/0.2358, allocations: 28.89 kB / 0.8355 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/0.2364, allocations: 79.92 kB / 0.8355 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2364, allocations: 34.56 kB / 0.8356 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.2364, allocations: 0 / 0.8356 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.2368, allocations: 81.58 kB / 0.8356 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.2368, allocations: 51.41 kB / 0.8357 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.2369, allocations: 101.8 kB / 0.8358 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2369, allocations: 29.7 kB / 0.8358 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.237, allocations: 92.22 kB / 0.8359 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.237, allocations: 3.953 kB / 0.8359 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.2371, allocations: 13.72 kB / 0.8359 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2372, allocations: 314.8 kB / 0.8362 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.2373, allocations: 15.98 kB / 0.8362 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.2373, allocations: 15.98 kB / 0.8363 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.2375, allocations: 44.88 kB / 0.8363 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2375, allocations: 3.938 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.2377, allocations: 65.61 kB / 0.8364 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2377, allocations: 4 kB / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2377, allocations: 0 / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2377, allocations: 7.984 kB / 0.8364 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.2378, allocations: 8.031 kB / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2378, allocations: 0 / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.2379, allocations: 11.92 kB / 0.8364 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.2379, allocations: 0 / 0.8364 GB, free: 4.66 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 8.477e-05/0.2379, allocations: 118.4 kB / 0.8365 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.238, allocations: 0 / 0.8365 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.2382, allocations: 76.91 kB / 0.8366 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.2382, allocations: 4 kB / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2382, allocations: 0 / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2382, allocations: 3.984 kB / 0.8366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2384, allocations: 128.7 kB / 0.8367 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2384, allocations: 0 / 0.8367 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.2385, allocations: 11.98 kB / 0.8367 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2385, allocations: 0 / 0.8367 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2385, allocations: 0 / 0.8367 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2385, allocations: 0 / 0.8367 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2385, allocations: 32 / 0.8367 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2387, allocations: 171.4 kB / 0.8369 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.2387, allocations: 0 / 0.8369 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2387, allocations: 7.938 kB / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.2388, allocations: 3.984 kB / 0.8369 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.2389, allocations: 4 kB / 0.8369 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2389, allocations: 4.031 kB / 0.8369 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.2389, allocations: 83.28 kB / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2389, allocations: 0 / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000243/0.2391, allocations: 19.92 kB / 0.837 GB, free: 3.957 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.0006522/0.2398, allocations: 0.7085 MB / 0.8377 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.24, allocations: 39.89 kB / 0.8377 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.24, allocations: 0 / 0.8377 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.2401, allocations: 24.08 kB / 0.8378 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.2403, allocations: 4 kB / 0.8378 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.2408, allocations: 139.2 kB / 0.8379 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2411, allocations: 0.6732 MB / 0.8385 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.2411, allocations: 4 kB / 0.8386 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.2412, allocations: 15.42 kB / 0.8386 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2412, allocations: 4.062 kB / 0.8386 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.2721, allocations: 1.638 MB / 0.8402 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.96, allocations: 15.77 kB / 0.8402 GB, free: 0.7383 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.23716880613938] Failed to read output from testmodel.py, exit status != 0: 11.060437005013227 11.076316956 10.839010713 Calling exit ...