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.001273/0.001273, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00145/0.00145, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.805 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.002525/0.002525, allocations: 298.8 kB / 312.7 MB, free: 2.617 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.383/1.383, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 178] 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.003017/0.003017, allocations: 98.73 kB / 0.7395 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.205, allocations: 95.39 MB / 0.8327 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002675/0.2076, allocations: 1.448 MB / 0.8341 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006056/0.2082, allocations: 236.1 kB / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.2083, allocations: 0 / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.2083, allocations: 0 / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.2083, allocations: 7.922 kB / 0.8343 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2087, allocations: 61.7 kB / 0.8344 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.2088, allocations: 19.92 kB / 0.8344 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.2089, allocations: 11.94 kB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.2089, allocations: 11.92 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.209, allocations: 19.92 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.209, allocations: 0 / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.2092, allocations: 55.94 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.2092, allocations: 0 / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.2092, allocations: 11.94 kB / 0.8345 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.2094, allocations: 60.06 kB / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2094, allocations: 0 / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2094, allocations: 0 / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2094, allocations: 0 / 0.8345 GB, free: 6.379 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.0004732/0.2098, allocations: 274.2 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2099, allocations: 9.344 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.2099, allocations: 34.75 kB / 0.8348 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.21, allocations: 8.828 kB / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2101, allocations: 106.5 kB / 0.835 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2101, allocations: 384 / 0.835 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2101, allocations: 4.375 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.2103, allocations: 47.91 kB / 0.835 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2103, allocations: 7.938 kB / 0.835 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.2103, allocations: 0 / 0.835 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2103, allocations: 0 / 0.835 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2104, allocations: 39.89 kB / 0.8351 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.2108, allocations: 216.1 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2109, allocations: 42.48 kB / 0.8353 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.211, allocations: 20.91 kB / 0.8353 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/0.2115, allocations: 87.91 kB / 0.8354 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.2116, allocations: 38.5 kB / 0.8354 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2116, allocations: 0 / 0.8354 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.2119, allocations: 73.64 kB / 0.8355 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.212, allocations: 55.41 kB / 0.8356 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.212, allocations: 97.98 kB / 0.8357 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.2121, allocations: 29.7 kB / 0.8357 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.2121, allocations: 92.08 kB / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2121, allocations: 7.953 kB / 0.8358 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.2122, allocations: 9.719 kB / 0.8358 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2123, allocations: 314.8 kB / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.978e-05/0.2124, allocations: 15.98 kB / 0.8361 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.2125, allocations: 15.97 kB / 0.8361 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2126, allocations: 48.83 kB / 0.8362 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2126, allocations: 7.938 kB / 0.8362 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.2128, allocations: 65.66 kB / 0.8362 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2128, allocations: 7.938 kB / 0.8362 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2128, allocations: 0 / 0.8362 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2128, allocations: 0 / 0.8362 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.2129, allocations: 11.98 kB / 0.8363 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2129, allocations: 4.031 kB / 0.8363 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.213, allocations: 4 kB / 0.8363 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.213, allocations: 0 / 0.8363 GB, free: 4.422 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.659e-05/0.2131, allocations: 121.7 kB / 0.8364 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.2131, allocations: 3.938 kB / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.2133, allocations: 72.91 kB / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2133, allocations: 0 / 0.8365 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2133, allocations: 4 kB / 0.8365 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2133, allocations: 4.031 kB / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.2135, allocations: 128.7 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2135, allocations: 0 / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.2135, allocations: 7.984 kB / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2135, allocations: 4 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2135, allocations: 0 / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2135, allocations: 0 / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2135, allocations: 0 / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.2138, allocations: 175.3 kB / 0.8368 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.2138, allocations: 0 / 0.8368 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2138, allocations: 4 kB / 0.8368 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.2139, allocations: 7.984 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.2139, allocations: 0 / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-06/0.2139, allocations: 0 / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.2139, allocations: 83.28 kB / 0.8369 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2139, allocations: 0 / 0.8369 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002318/0.2142, allocations: 15.94 kB / 0.8369 GB, free: 3.727 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.0006164/0.2148, allocations: 0.7201 MB / 0.8376 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.215, allocations: 39.95 kB / 0.8376 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.215, allocations: 0 / 0.8376 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.2151, allocations: 20.08 kB / 0.8376 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.2153, allocations: 4 kB / 0.8376 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.2157, allocations: 135.2 kB / 0.8378 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.2158, allocations: 59.34 kB / 0.8378 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.2158, allocations: 4 kB / 0.8378 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.2159, allocations: 11.44 kB / 0.8378 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.2159, allocations: 7.875 kB / 0.8378 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.2436, allocations: 2.075 MB / 0.8399 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.08, allocations: 8.641 kB / 0.8399 GB, free: 0.6953 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.438397963996977] Failed to read output from testmodel.py, exit status != 0: 11.19254995090887 11.214783972 11.002286959 Calling exit ...