Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.0009626/0.0009626, 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.0008632/0.0008632, allocations: 169.9 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.8295/0.8295, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.001421/0.001421, allocations: 233.4 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.65/0.65, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.288e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001278/0.001301, allocations: 0.5836 MB / 0.6469 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003502/0.001651, allocations: 176.1 kB / 0.6471 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.001666, allocations: 0 / 0.6471 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.001682, allocations: 0 / 0.6471 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-06/0.00169, allocations: 0 / 0.6471 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.002029, allocations: 51.77 kB / 0.6471 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.954e-05/0.002069, allocations: 0 / 0.6471 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.002106, allocations: 4 kB / 0.6471 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.00213, allocations: 3.984 kB / 0.6471 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.849e-05/0.002148, allocations: 4 kB / 0.6472 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.455e-06/0.002157, allocations: 3.938 kB / 0.6472 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.002288, allocations: 59.88 kB / 0.6472 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.0023, allocations: 0 / 0.6472 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.455e-05/0.002314, allocations: 4 kB / 0.6472 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.002418, allocations: 39.88 kB / 0.6473 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002421, allocations: 0 / 0.6473 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.262e-06/0.002423, allocations: 0 / 0.6473 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002427, allocations: 4 kB / 0.6473 GB, free: 0.8633 MB / 0.5573 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.0002118/0.002639, allocations: 238.4 kB / 0.6475 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.002675, allocations: 13.94 kB / 0.6475 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.002701, allocations: 38.75 kB / 0.6475 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.002723, allocations: 0.9375 kB / 0.6475 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.102e-05/0.002774, allocations: 101.8 kB / 0.6476 GB, free: 424 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.002782, allocations: 384 / 0.6476 GB, free: 424 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.002789, allocations: 384 / 0.6476 GB, free: 424 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.00287, allocations: 34.25 kB / 0.6477 GB, free: 384 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002876, allocations: 4.125 kB / 0.6477 GB, free: 380 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.002883, allocations: 384 / 0.6477 GB, free: 380 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.002888, allocations: 8.062 kB / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.002904, allocations: 4 kB / 0.6477 GB, free: 368 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.827e-05/0.003002, allocations: 116.7 kB / 0.6478 GB, free: 208 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.003036, allocations: 22.67 kB / 0.6478 GB, free: 176 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.003049, allocations: 8.859 kB / 0.6478 GB, free: 164 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/0.003479, allocations: 71.91 kB / 0.6479 GB, free: 92 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.003501, allocations: 34.56 kB / 0.6479 GB, free: 48 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.003502, allocations: 0 / 0.6479 GB, free: 48 kB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.003626, allocations: 37.64 kB / 0.648 GB, free: 4 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2135/0.2172, allocations: 55.34 kB / 0.648 GB, free: 57.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.892e-05/0.2172, allocations: 89.86 kB / 0.6481 GB, free: 57.03 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2172, allocations: 25.7 kB / 0.6481 GB, free: 57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-06/0.2172, allocations: 80.14 kB / 0.6482 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.2172, allocations: 0.875 kB / 0.6482 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.2173, allocations: 12.69 kB / 0.6482 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.757e-05/0.2173, allocations: 317.4 kB / 0.6485 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.2173, allocations: 0 / 0.6485 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.2173, allocations: 1.312 kB / 0.6485 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.2173, allocations: 12.31 kB / 0.6485 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2174, allocations: 2 kB / 0.6485 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.132e-05/0.2174, allocations: 38.33 kB / 0.6486 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2174, allocations: 4.438 kB / 0.6486 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2174, allocations: 2 kB / 0.6486 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2174, allocations: 0 / 0.6486 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.2175, allocations: 4.125 kB / 0.6486 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2175, allocations: 3.75 kB / 0.6486 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.2175, allocations: 1.078 kB / 0.6486 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.2175, allocations: 0 / 0.6486 GB, free: 56.55 MB / 0.5573 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 3.621e-05/0.2176, allocations: 110.7 kB / 0.6487 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.2176, allocations: 0.5625 kB / 0.6487 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.2176, allocations: 44.83 kB / 0.6487 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2176, allocations: 0 / 0.6487 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2176, allocations: 6.5 kB / 0.6487 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2177, allocations: 2.391 kB / 0.6487 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.518e-05/0.2177, allocations: 118.2 kB / 0.6489 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2177, allocations: 2.188 kB / 0.6489 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-06/0.2177, allocations: 1.781 kB / 0.6489 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2177, allocations: 1.938 kB / 0.6489 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.2177, allocations: 1.375 kB / 0.6489 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2177, allocations: 0 / 0.6489 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2177, allocations: 6.719 kB / 0.6489 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.57e-05/0.2178, allocations: 60.31 kB / 0.6489 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.2178, allocations: 5.922 kB / 0.6489 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.2178, allocations: 1.688 kB / 0.6489 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-06/0.2178, allocations: 0.7188 kB / 0.6489 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.2178, allocations: 4.906 kB / 0.6489 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2178, allocations: 4.719 kB / 0.6489 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.875e-06/0.2178, allocations: 79.33 kB / 0.649 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2178, allocations: 1.188 kB / 0.649 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001377/0.2179, allocations: 11.83 kB / 0.649 GB, free: 56.1 MB / 0.5573 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.000231/0.2182, allocations: 0.6096 MB / 0.6496 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.969e-05/0.2182, allocations: 6.719 kB / 0.6496 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2182, allocations: 0.7188 kB / 0.6496 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.2182, allocations: 4.156 kB / 0.6496 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.741e-05/0.2183, allocations: 9.594 kB / 0.6496 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.2185, allocations: 111 kB / 0.6498 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.363e-05/0.2186, allocations: 61.11 kB / 0.6498 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.748e-06/0.2186, allocations: 0.7812 kB / 0.6498 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.2186, allocations: 8.5 kB / 0.6498 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of SimCode: time 3.7e-07/0.2186, allocations: 0.5938 kB / 0.6498 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.232, allocations: 1.803 MB / 0.6516 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.293/6.525, allocations: 13.19 kB / 0.6516 GB, free: 54.57 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.917710924521089] Failed to read output from testmodel.py, exit status != 0: 6.602219907566905 6.611283036 6.606862835 Calling exit ...