Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 105.9 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 291.1 kB / 303 MB, free: 9.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.215/1.215, allocations: 180.9 MB / 0.5261 GB, free: 14.62 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 104.4 kB / 0.7248 GB, free: 39.97 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1954, allocations: 94.15 MB / 0.8167 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002764/0.1982, allocations: 1.432 MB / 0.8181 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.1988, allocations: 252.2 kB / 0.8184 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.1989, allocations: 0 / 0.8184 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.1989, allocations: 4 kB / 0.8184 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.1989, allocations: 3.938 kB / 0.8184 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1993, allocations: 59.81 kB / 0.8184 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.1994, allocations: 23.94 kB / 0.8185 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.1995, allocations: 7.984 kB / 0.8185 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.1995, allocations: 11.94 kB / 0.8185 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.1996, allocations: 7.984 kB / 0.8185 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1996, allocations: 0 / 0.8185 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1997, allocations: 67.86 kB / 0.8185 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.1998, allocations: 7.938 kB / 0.8186 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.1998, allocations: 4 kB / 0.8186 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1999, allocations: 56.08 kB / 0.8186 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1999, allocations: 0 / 0.8186 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1999, allocations: 0 / 0.8186 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2, allocations: 4 kB / 0.8186 GB, free: 3.445 MB / 0.5606 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.0005588/0.2005, allocations: 347.4 kB / 0.8189 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2006, allocations: 8.031 kB / 0.819 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.2006, allocations: 34.75 kB / 0.819 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.2006, allocations: 0.9375 kB / 0.819 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2008, allocations: 168.3 kB / 0.8191 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.2008, allocations: 384 / 0.8191 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2008, allocations: 4.375 kB / 0.8192 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.201, allocations: 58.17 kB / 0.8192 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.201, allocations: 7.875 kB / 0.8192 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.201, allocations: 0 / 0.8192 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.201, allocations: 0 / 0.8192 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.2012, allocations: 35.95 kB / 0.8193 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.2015, allocations: 252.9 kB / 0.8195 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2017, allocations: 46.42 kB / 0.8195 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.2018, allocations: 20.91 kB / 0.8196 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007788/0.2025, allocations: 453.4 kB / 0.82 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2026, allocations: 38.56 kB / 0.82 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2026, allocations: 0 / 0.82 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003551/0.2029, allocations: 73.64 kB / 0.8201 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.203, allocations: 59.41 kB / 0.8202 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.2031, allocations: 101.8 kB / 0.8202 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2031, allocations: 29.83 kB / 0.8203 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.2031, allocations: 84.14 kB / 0.8204 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2031, allocations: 11.89 kB / 0.8204 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.2032, allocations: 9.719 kB / 0.8204 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2033, allocations: 318.8 kB / 0.8207 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.2034, allocations: 15.98 kB / 0.8207 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.2035, allocations: 15.98 kB / 0.8207 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2036, allocations: 44.88 kB / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2036, allocations: 3.938 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.2038, allocations: 61.62 kB / 0.8208 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2038, allocations: 8 kB / 0.8208 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2038, allocations: 0 / 0.8208 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2038, allocations: 7.969 kB / 0.8208 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.2039, allocations: 7.984 kB / 0.8208 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2039, allocations: 4 kB / 0.8208 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.2039, allocations: 7.984 kB / 0.8209 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.204, allocations: 0 / 0.8209 GB, free: 0.8242 MB / 0.5606 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.872e-05/0.204, allocations: 109.8 kB / 0.821 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.2041, allocations: 4 kB / 0.821 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.2043, allocations: 72.78 kB / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2043, allocations: 0 / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2043, allocations: 0 / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2043, allocations: 0 / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.2045, allocations: 165.5 kB / 0.8212 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2045, allocations: 0 / 0.8212 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.2045, allocations: 15.92 kB / 0.8212 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2045, allocations: 0 / 0.8212 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2045, allocations: 0 / 0.8212 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2045, allocations: 3.984 kB / 0.8212 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2045, allocations: 4.031 kB / 0.8212 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.2048, allocations: 163.5 kB / 0.8214 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.2048, allocations: 85.06 kB / 0.8214 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2048, allocations: 192 / 0.8214 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.2049, allocations: 7.984 kB / 0.8215 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.2049, allocations: 8.016 kB / 0.8215 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2049, allocations: 4 kB / 0.8215 GB, free: 100 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.205, allocations: 83.28 kB / 0.8215 GB, free: 16 kB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.205, allocations: 0 / 0.8215 GB, free: 16 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002643/0.2053, allocations: 19.97 kB / 0.8216 GB, free: 15.99 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.0006783/0.2059, allocations: 0.7162 MB / 0.8223 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.2062, allocations: 35.95 kB / 0.8223 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2062, allocations: 4.094 kB / 0.8223 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.047e-05/0.2063, allocations: 23.92 kB / 0.8223 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.2065, allocations: 6.172 kB / 0.8223 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.2069, allocations: 136.9 kB / 0.8225 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.2072, allocations: 0.6768 MB / 0.8231 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.2073, allocations: 0 / 0.8231 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.2073, allocations: 15.5 kB / 0.8231 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2073, allocations: 4 kB / 0.8231 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.2313, allocations: 1.525 MB / 0.8246 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.048, allocations: 9.969 kB / 0.8246 GB, free: 12.84 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.25432131998241] Failed to read output from testmodel.py, exit status != 0: 8.118839075788856 8.145813303 7.941225824 Calling exit ...