Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",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.001403/0.001403, allocations: 104.9 kB / 15.98 MB, free: 5.871 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.001515/0.001515, allocations: 196.3 kB / 16.91 MB, free: 5.738 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6791/0.6791, allocations: 115.4 MB / 406.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.38 kB / 493.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1865, allocations: 76.19 MB / 0.556 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.00429/0.1908, allocations: 1.479 MB / 0.5575 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.1918, allocations: 248.1 kB / 0.5577 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.1919, allocations: 0 / 0.5577 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.447e-05/0.192, allocations: 0 / 0.5577 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.1921, allocations: 0 / 0.5577 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.1927, allocations: 51.91 kB / 0.5578 GB, free: 8.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.1929, allocations: 19.92 kB / 0.5578 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.193, allocations: 11.98 kB / 0.5578 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.946e-05/0.1931, allocations: 11.92 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.1931, allocations: 8 kB / 0.5578 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1932, allocations: 4 kB / 0.5578 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.1934, allocations: 67.88 kB / 0.5579 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.1934, allocations: 0 / 0.5579 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.1934, allocations: 11.92 kB / 0.5579 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1937, allocations: 59.8 kB / 0.558 GB, free: 8.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1937, allocations: 0 / 0.558 GB, free: 8.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1937, allocations: 4 kB / 0.558 GB, free: 8.578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1937, allocations: 0 / 0.558 GB, free: 8.578 MB / 430.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.0006129/0.1943, allocations: 347.7 kB / 0.5583 GB, free: 8.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1944, allocations: 12.03 kB / 0.5583 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.1944, allocations: 34.73 kB / 0.5583 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.1945, allocations: 4.938 kB / 0.5583 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1946, allocations: 164.4 kB / 0.5585 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1947, allocations: 4.312 kB / 0.5585 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1947, allocations: 384 / 0.5585 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1949, allocations: 50.23 kB / 0.5586 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1949, allocations: 7.938 kB / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1949, allocations: 0 / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.195, allocations: 8 kB / 0.5586 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1951, allocations: 31.91 kB / 0.5586 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.1956, allocations: 252.9 kB / 0.5588 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1958, allocations: 34.5 kB / 0.5589 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.1959, allocations: 28.91 kB / 0.5589 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008322/0.1967, allocations: 453.5 kB / 0.5593 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.1968, allocations: 34.56 kB / 0.5594 GB, free: 6.875 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.1968, allocations: 7.875 kB / 0.5594 GB, free: 6.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004092/0.1972, allocations: 77.64 kB / 0.5594 GB, free: 6.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1973, allocations: 59.41 kB / 0.5595 GB, free: 6.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.1974, allocations: 97.84 kB / 0.5596 GB, free: 6.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1974, allocations: 25.7 kB / 0.5596 GB, free: 6.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.1975, allocations: 84.14 kB / 0.5597 GB, free: 6.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1975, allocations: 7.891 kB / 0.5597 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1975, allocations: 17.84 kB / 0.5597 GB, free: 6.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1977, allocations: 314.8 kB / 0.56 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.1978, allocations: 19.97 kB / 0.56 GB, free: 6.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.1978, allocations: 11.98 kB / 0.5601 GB, free: 6.113 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.198, allocations: 48.83 kB / 0.5601 GB, free: 6.062 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.198, allocations: 3.938 kB / 0.5601 GB, free: 6.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.1982, allocations: 61.66 kB / 0.5602 GB, free: 5.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1982, allocations: 8 kB / 0.5602 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1982, allocations: 0 / 0.5602 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1983, allocations: 0 / 0.5602 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.1983, allocations: 7.984 kB / 0.5602 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1984, allocations: 0 / 0.5602 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1984, allocations: 12.02 kB / 0.5602 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.1984, allocations: 4 kB / 0.5602 GB, free: 5.961 MB / 430.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 7.736e-05/0.1985, allocations: 109.8 kB / 0.5603 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1985, allocations: 0 / 0.5603 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.1988, allocations: 76.72 kB / 0.5604 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1988, allocations: 0 / 0.5604 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1988, allocations: 32 / 0.5604 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1988, allocations: 4 kB / 0.5604 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.199, allocations: 165.5 kB / 0.5605 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.199, allocations: 0 / 0.5605 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.199, allocations: 8 kB / 0.5605 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1991, allocations: 3.938 kB / 0.5605 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1991, allocations: 192 / 0.5605 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1991, allocations: 3.984 kB / 0.5606 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1991, allocations: 0 / 0.5606 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1993, allocations: 175.3 kB / 0.5607 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.1994, allocations: 85.09 kB / 0.5608 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1994, allocations: 7.938 kB / 0.5608 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.1995, allocations: 0 / 0.5608 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.1995, allocations: 7.984 kB / 0.5608 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1995, allocations: 0 / 0.5608 GB, free: 5.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.1996, allocations: 83.28 kB / 0.5609 GB, free: 5.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1996, allocations: 4.031 kB / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1998, allocations: 12 kB / 0.5609 GB, free: 5.133 MB / 430.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.0006924/0.2005, allocations: 0.7124 MB / 0.5616 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2008, allocations: 39.91 kB / 0.5616 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2008, allocations: 0 / 0.5616 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.2009, allocations: 23.97 kB / 0.5617 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2011, allocations: 4.125 kB / 0.5617 GB, free: 4.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.2016, allocations: 143.2 kB / 0.5618 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2019, allocations: 0.6768 MB / 0.5625 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.202, allocations: 0 / 0.5625 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.202, allocations: 15.44 kB / 0.5625 GB, free: 3.426 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.202, allocations: 0 / 0.5625 GB, free: 3.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.2148, allocations: 1.357 MB / 0.5638 GB, free: 2.18 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.2151, allocations: 181.7 kB / 0.564 GB, free: 1.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.881, allocations: 0 / 0.564 GB, free: 1.926 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)