Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 101.5 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 195.9 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7227/0.7227, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 63.52 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1899, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002666/0.1926, allocations: 1.427 MB / 0.633 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005977/0.1933, allocations: 256 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.1933, allocations: 0 / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1934, allocations: 8 kB / 0.6332 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.1934, allocations: 11.91 kB / 0.6332 GB, free: 3.219 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.1939, allocations: 55.83 kB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.1939, allocations: 16 kB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.194, allocations: 7.984 kB / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.1941, allocations: 11.92 kB / 0.6333 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.1942, allocations: 15.92 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.1942, allocations: 0 / 0.6333 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1943, allocations: 63.94 kB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.1944, allocations: 7.938 kB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.1944, allocations: 4 kB / 0.6334 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1945, allocations: 55.84 kB / 0.6335 GB, free: 2.984 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1946, allocations: 4 kB / 0.6335 GB, free: 2.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1946, allocations: 3.938 kB / 0.6335 GB, free: 2.977 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1946, allocations: 0 / 0.6335 GB, free: 2.977 MB / 478.1 MB 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.000503/0.1951, allocations: 346.3 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1951, allocations: 8.031 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.1952, allocations: 30.75 kB / 0.6338 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1952, allocations: 8.938 kB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1953, allocations: 160.4 kB / 0.634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1953, allocations: 384 / 0.634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1954, allocations: 384 / 0.634 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1955, allocations: 50.23 kB / 0.6341 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1956, allocations: 7.875 kB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1956, allocations: 0 / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1956, allocations: 4 kB / 0.6341 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.1957, allocations: 39.89 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.1961, allocations: 244.8 kB / 0.6343 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1962, allocations: 46.47 kB / 0.6344 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.1963, allocations: 24.91 kB / 0.6344 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.197, allocations: 457.5 kB / 0.6348 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1971, allocations: 34.56 kB / 0.6349 GB, free: 1.281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.1971, allocations: 0 / 0.6349 GB, free: 1.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003704/0.1974, allocations: 85.58 kB / 0.635 GB, free: 1.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1975, allocations: 51.41 kB / 0.635 GB, free: 1.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.1976, allocations: 101.9 kB / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1976, allocations: 25.7 kB / 0.6351 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.1976, allocations: 84.12 kB / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1977, allocations: 8.75 kB / 0.6352 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1977, allocations: 13.72 kB / 0.6352 GB, free: 0.875 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.1978, allocations: 315 kB / 0.6355 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.1979, allocations: 15.98 kB / 0.6355 GB, free: 0.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.198, allocations: 19.97 kB / 0.6356 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1981, allocations: 36.77 kB / 0.6356 GB, free: 496 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1981, allocations: 3.938 kB / 0.6356 GB, free: 492 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.1983, allocations: 73.72 kB / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1984, allocations: 4 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1984, allocations: 0 / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1984, allocations: 4 kB / 0.6357 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.1985, allocations: 7.984 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1985, allocations: 0 / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1985, allocations: 7.938 kB / 0.6357 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1986, allocations: 4.031 kB / 0.6357 GB, free: 384 kB / 478.1 MB 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.585e-05/0.1986, allocations: 117.8 kB / 0.6358 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1987, allocations: 0 / 0.6358 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.1989, allocations: 80.72 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1989, allocations: 192 / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1989, allocations: 0 / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1989, allocations: 3.984 kB / 0.6359 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1991, allocations: 169.6 kB / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1991, allocations: 0 / 0.6361 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.1992, allocations: 11.98 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1992, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1992, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1992, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1992, allocations: 0 / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1995, allocations: 175.3 kB / 0.6362 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.1995, allocations: 77.11 kB / 0.6363 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1995, allocations: 3.984 kB / 0.6363 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1996, allocations: 4 kB / 0.6363 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1997, allocations: 11.92 kB / 0.6363 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1997, allocations: 0 / 0.6363 GB, free: 15.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.1997, allocations: 83.28 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1997, allocations: 0 / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.2, allocations: 20.03 kB / 0.6364 GB, free: 15.53 MB / 494.1 MB 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.0005987/0.2006, allocations: 0.7085 MB / 0.6371 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2008, allocations: 35.91 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2008, allocations: 4 kB / 0.6372 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.391e-05/0.2009, allocations: 19.97 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2012, allocations: 5.406 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.2016, allocations: 139.3 kB / 0.6373 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.2019, allocations: 0.6768 MB / 0.638 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.2019, allocations: 4 kB / 0.638 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.202, allocations: 11.44 kB / 0.638 GB, free: 13.83 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.202, allocations: 0 / 0.638 GB, free: 13.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.005/2.207, allocations: 1.517 MB / 0.6395 GB, free: 12.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/18.05, allocations: 14.44 kB / 0.6395 GB, free: 12.37 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)