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.001846/0.001846, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002664/0.002664, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.003643/0.003643, allocations: 278.5 kB / 313.5 MB, free: 2.824 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.293/1.293, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="cs",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.002742/0.002742, allocations: 97.19 kB / 0.7404 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2155, allocations: 95.38 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002776/0.2183, allocations: 1.467 MB / 0.8349 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006388/0.219, allocations: 252 kB / 0.8352 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.219, allocations: 0 / 0.8352 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.219, allocations: 7.938 kB / 0.8352 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.2191, allocations: 7.938 kB / 0.8352 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.2195, allocations: 59.81 kB / 0.8352 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.2195, allocations: 19.98 kB / 0.8353 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.2196, allocations: 7.938 kB / 0.8353 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.2197, allocations: 11.98 kB / 0.8353 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.2197, allocations: 11.94 kB / 0.8353 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.2197, allocations: 3.938 kB / 0.8353 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2199, allocations: 63.86 kB / 0.8354 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2199, allocations: 11.98 kB / 0.8354 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.2199, allocations: 11.94 kB / 0.8354 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.2201, allocations: 52.08 kB / 0.8354 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2201, allocations: 0 / 0.8354 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2201, allocations: 0 / 0.8354 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2201, allocations: 0 / 0.8354 GB, free: 6.641 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.0004635/0.2205, allocations: 270.3 kB / 0.8357 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2206, allocations: 13.28 kB / 0.8357 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.21e-05/0.2206, allocations: 192 / 0.8357 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.2206, allocations: 38.75 kB / 0.8357 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.2207, allocations: 12.88 kB / 0.8357 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2208, allocations: 102.5 kB / 0.8358 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.2208, allocations: 384 / 0.8358 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2208, allocations: 4.375 kB / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.221, allocations: 55.66 kB / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.221, allocations: 0 / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.221, allocations: 0 / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.221, allocations: 7.938 kB / 0.8359 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.2211, allocations: 35.97 kB / 0.8359 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2215, allocations: 220 kB / 0.8362 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.2216, allocations: 34.56 kB / 0.8362 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.2217, allocations: 20.91 kB / 0.8362 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/0.2223, allocations: 87.91 kB / 0.8363 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2223, allocations: 34.5 kB / 0.8363 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2223, allocations: 0 / 0.8363 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.2227, allocations: 85.64 kB / 0.8364 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2227, allocations: 51.41 kB / 0.8365 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.2228, allocations: 97.98 kB / 0.8366 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2228, allocations: 25.7 kB / 0.8366 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.2229, allocations: 92.09 kB / 0.8367 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2229, allocations: 3.953 kB / 0.8367 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2229, allocations: 17.84 kB / 0.8367 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2231, allocations: 314.8 kB / 0.837 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.2232, allocations: 15.97 kB / 0.837 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.2233, allocations: 19.92 kB / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2234, allocations: 40.77 kB / 0.8371 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2234, allocations: 4.062 kB / 0.8371 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001884/0.2236, allocations: 65.66 kB / 0.8371 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2236, allocations: 4 kB / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2236, allocations: 48 / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.2236, allocations: 7.922 kB / 0.8371 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.2237, allocations: 11.98 kB / 0.8371 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2237, allocations: 0 / 0.8371 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.2238, allocations: 11.92 kB / 0.8372 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2238, allocations: 4.031 kB / 0.8372 GB, free: 4.672 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 9.254e-05/0.2239, allocations: 118.4 kB / 0.8373 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.2239, allocations: 3.938 kB / 0.8373 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.2241, allocations: 64.97 kB / 0.8373 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2241, allocations: 4 kB / 0.8373 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2241, allocations: 0 / 0.8373 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2241, allocations: 4.031 kB / 0.8373 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2243, allocations: 132.7 kB / 0.8375 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2243, allocations: 0 / 0.8375 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.2244, allocations: 8 kB / 0.8375 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2244, allocations: 0 / 0.8375 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2244, allocations: 0 / 0.8375 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2244, allocations: 0 / 0.8375 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2244, allocations: 3.984 kB / 0.8375 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.2246, allocations: 171.4 kB / 0.8376 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.2247, allocations: 3.984 kB / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2247, allocations: 0 / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.2247, allocations: 4 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2248, allocations: 15.98 kB / 0.8377 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2248, allocations: 0 / 0.8377 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.2248, allocations: 79.28 kB / 0.8377 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2248, allocations: 32 / 0.8377 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000245/0.2251, allocations: 19.94 kB / 0.8378 GB, free: 3.973 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.0006992/0.2258, allocations: 0.7212 MB / 0.8385 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.226, allocations: 31.97 kB / 0.8385 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.226, allocations: 0 / 0.8385 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.2261, allocations: 23.97 kB / 0.8385 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.2263, allocations: 0 / 0.8385 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.2268, allocations: 143.3 kB / 0.8387 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.2272, allocations: 0.6768 MB / 0.8393 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.2272, allocations: 0 / 0.8393 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.2272, allocations: 15.38 kB / 0.8393 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2272, allocations: 0 / 0.8393 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.25, allocations: 1.674 MB / 0.841 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.12, allocations: 6.766 kB / 0.841 GB, free: 0.7422 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.58002207899699] Failed to read output from testmodel.py, exit status != 0: 11.27431287697982 11.29313052 11.0694494 Calling exit ...