Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001243/0.001243, allocations: 98.08 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.001478/0.001478, allocations: 217.7 kB / 23.04 MB, free: 5.074 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.004068/0.004068, allocations: 282.5 kB / 313.5 MB, free: 2.852 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.31/1.31, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.002739/0.002739, allocations: 99.17 kB / 0.7404 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1917, allocations: 95.38 MB / 0.8335 GB, free: 8.664 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001878/0.1935, allocations: 0.5921 MB / 0.8341 GB, free: 8.07 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005359/0.1941, allocations: 207.7 kB / 0.8343 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.1941, allocations: 0 / 0.8343 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.1941, allocations: 0 / 0.8343 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1941, allocations: 4 kB / 0.8343 GB, free: 7.863 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1945, allocations: 55.83 kB / 0.8344 GB, free: 7.809 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 4.365e-05/0.1946, allocations: 3.984 kB / 0.8344 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.1946, allocations: 0 / 0.8344 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.353e-05/0.1946, allocations: 0 / 0.8344 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.1946, allocations: 0 / 0.8344 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.1946, allocations: 4 kB / 0.8344 GB, free: 7.801 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1948, allocations: 59.88 kB / 0.8344 GB, free: 7.742 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.1948, allocations: 3.984 kB / 0.8344 GB, free: 7.738 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.1949, allocations: 7.938 kB / 0.8344 GB, free: 7.73 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.195, allocations: 40.17 kB / 0.8345 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.195, allocations: 0 / 0.8345 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.473e-06/0.195, allocations: 0 / 0.8345 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.195, allocations: 0 / 0.8345 GB, free: 7.691 MB / 0.5763 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.00032/0.1953, allocations: 234.4 kB / 0.8347 GB, free: 7.43 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1954, allocations: 13.34 kB / 0.8347 GB, free: 7.418 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.621e-05/0.1954, allocations: 192 / 0.8347 GB, free: 7.418 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.1954, allocations: 30.75 kB / 0.8347 GB, free: 7.379 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.1955, allocations: 4.922 kB / 0.8347 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.111e-05/0.1955, allocations: 110.5 kB / 0.8349 GB, free: 7.242 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1955, allocations: 4.375 kB / 0.8349 GB, free: 7.238 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.1956, allocations: 384 / 0.8349 GB, free: 7.238 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1957, allocations: 33.95 kB / 0.8349 GB, free: 7.199 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1957, allocations: 0 / 0.8349 GB, free: 7.199 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.1957, allocations: 0 / 0.8349 GB, free: 7.199 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1957, allocations: 4 kB / 0.8349 GB, free: 7.195 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.1957, allocations: 0 / 0.8349 GB, free: 7.195 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1958, allocations: 116.8 kB / 0.835 GB, free: 7.039 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/0.1959, allocations: 26.61 kB / 0.835 GB, free: 7.004 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.1959, allocations: 4.859 kB / 0.835 GB, free: 6.996 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.1965, allocations: 75.92 kB / 0.8351 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1966, allocations: 46.48 kB / 0.8352 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 4.168e-06/0.1966, allocations: 3.984 kB / 0.8352 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.1967, allocations: 33.64 kB / 0.8352 GB, free: 6.824 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.1968, allocations: 55.41 kB / 0.8352 GB, free: 6.758 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.1968, allocations: 89.86 kB / 0.8353 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1968, allocations: 25.7 kB / 0.8354 GB, free: 6.629 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.1969, allocations: 84.12 kB / 0.8354 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1969, allocations: 3.938 kB / 0.8354 GB, free: 6.539 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1969, allocations: 17.84 kB / 0.8355 GB, free: 6.516 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1971, allocations: 314.8 kB / 0.8358 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.1971, allocations: 0 / 0.8358 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.1971, allocations: 7.922 kB / 0.8358 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.1971, allocations: 8.859 kB / 0.8358 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1971, allocations: 0 / 0.8358 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.756e-05/0.1972, allocations: 29.7 kB / 0.8358 GB, free: 6.145 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1972, allocations: 10.06 kB / 0.8358 GB, free: 6.137 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.1972, allocations: 15.98 kB / 0.8358 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1972, allocations: 0 / 0.8358 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.1973, allocations: 0 / 0.8358 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1973, allocations: 0 / 0.8358 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.1973, allocations: 0 / 0.8358 GB, free: 6.121 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1973, allocations: 0 / 0.8358 GB, free: 6.121 MB / 0.5763 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 0.0001031/0.1974, allocations: 122.4 kB / 0.8359 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.1974, allocations: 3.938 kB / 0.8359 GB, free: 5.988 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.1975, allocations: 36.7 kB / 0.836 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1975, allocations: 0 / 0.836 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1975, allocations: 0 / 0.836 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1975, allocations: 0 / 0.836 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1976, allocations: 124.8 kB / 0.8361 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1976, allocations: 0 / 0.8361 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.1976, allocations: 0 / 0.8361 GB, free: 5.781 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1976, allocations: 3.938 kB / 0.8361 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1976, allocations: 0 / 0.8361 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1977, allocations: 4 kB / 0.8361 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1977, allocations: 0 / 0.8361 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.897e-05/0.1977, allocations: 61.09 kB / 0.8362 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-06/0.1977, allocations: 0 / 0.8362 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1977, allocations: 7.938 kB / 0.8362 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.1977, allocations: 4 kB / 0.8362 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.1978, allocations: 0 / 0.8362 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1978, allocations: 0 / 0.8362 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.1978, allocations: 75.28 kB / 0.8362 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1978, allocations: 4.031 kB / 0.8363 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002311/0.198, allocations: 19.88 kB / 0.8363 GB, free: 5.586 MB / 0.5763 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.0005165/0.1985, allocations: 0.6239 MB / 0.8369 GB, free: 4.93 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 7.797e-05/0.1986, allocations: 4 kB / 0.8369 GB, free: 4.926 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.1986, allocations: 0 / 0.8369 GB, free: 4.926 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-06/0.1986, allocations: 4 kB / 0.8369 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1988, allocations: 0 / 0.8369 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.1991, allocations: 109.4 kB / 0.837 GB, free: 4.777 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1994, allocations: 0.669 MB / 0.8376 GB, free: 4.082 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 1.116e-05/0.1994, allocations: 4.125 kB / 0.8376 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.1994, allocations: 7.438 kB / 0.8377 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of SimCode: time 2.61e-07/0.1994, allocations: 0 / 0.8377 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.2211, allocations: 1.293 MB / 0.8389 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.06, allocations: 12.38 kB / 0.8389 GB, free: 2.918 MB / 0.5763 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.45692650397541] Failed to read output from testmodel.py, exit status != 0: 11.210787368996534 11.228037088 11.02983974 Calling exit ...