Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.0008141/0.000814, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 176.1 kB / 16.92 MB, free: 6.684 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6946/0.6946, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003351, allocations: 13.03 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 77.54 MB / 0.5601 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008506/0.1656, allocations: 299.8 kB / 0.5603 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.1662, allocations: 202.1 kB / 0.5605 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.1663, allocations: 0 / 0.5605 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.1663, allocations: 4 kB / 0.5605 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.1663, allocations: 3.938 kB / 0.5605 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.1667, allocations: 43.88 kB / 0.5606 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.933e-05/0.1668, allocations: 0 / 0.5606 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.1669, allocations: 4 kB / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.484e-05/0.1669, allocations: 0 / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.1669, allocations: 0 / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.1669, allocations: 0 / 0.5606 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.1671, allocations: 67.88 kB / 0.5607 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1671, allocations: 7.984 kB / 0.5607 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1672, allocations: 29.7 kB / 0.5607 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1673, allocations: 35.89 kB / 0.5607 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1673, allocations: 0 / 0.5607 GB, free: 8.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1673, allocations: 0 / 0.5607 GB, free: 8.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1673, allocations: 0 / 0.5607 GB, free: 8.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003041/0.1676, allocations: 311.6 kB / 0.561 GB, free: 7.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1677, allocations: 16.02 kB / 0.561 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.1678, allocations: 30.75 kB / 0.5611 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.1678, allocations: 0.9375 kB / 0.5611 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1679, allocations: 168.4 kB / 0.5612 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1679, allocations: 4.312 kB / 0.5612 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1679, allocations: 4.359 kB / 0.5612 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.168, allocations: 34.2 kB / 0.5613 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.168, allocations: 3.938 kB / 0.5613 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.1681, allocations: 0 / 0.5613 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1681, allocations: 0 / 0.5613 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.1681, allocations: 0 / 0.5613 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1682, allocations: 149.7 kB / 0.5614 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.1683, allocations: 22.58 kB / 0.5614 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.1683, allocations: 4.859 kB / 0.5614 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/0.1691, allocations: 461.5 kB / 0.5619 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1692, allocations: 38.5 kB / 0.5619 GB, free: 6.742 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.1692, allocations: 0 / 0.5619 GB, free: 6.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.1693, allocations: 37.64 kB / 0.562 GB, free: 6.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1694, allocations: 55.34 kB / 0.562 GB, free: 6.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.98e-05/0.1694, allocations: 93.86 kB / 0.5621 GB, free: 6.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1694, allocations: 25.7 kB / 0.5621 GB, free: 6.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.1695, allocations: 84.12 kB / 0.5622 GB, free: 6.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1695, allocations: 3.906 kB / 0.5622 GB, free: 6.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1696, allocations: 9.844 kB / 0.5622 GB, free: 6.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1697, allocations: 314.8 kB / 0.5625 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.1697, allocations: 0 / 0.5625 GB, free: 6.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.1698, allocations: 8 kB / 0.5625 GB, free: 6.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.1698, allocations: 8.797 kB / 0.5625 GB, free: 6.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1698, allocations: 0 / 0.5625 GB, free: 6.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.757e-05/0.1699, allocations: 33.7 kB / 0.5626 GB, free: 6.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1699, allocations: 4 kB / 0.5626 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1699, allocations: 12.02 kB / 0.5626 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.17, allocations: 0 / 0.5626 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.69e-05/0.17, allocations: 4 kB / 0.5626 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.17, allocations: 0 / 0.5626 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.17, allocations: 0 / 0.5626 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1701, allocations: 0 / 0.5626 GB, free: 6 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 (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 8.546e-05/0.1701, allocations: 105.8 kB / 0.5627 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.1702, allocations: 0 / 0.5627 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1703, allocations: 56.69 kB / 0.5627 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1703, allocations: 7.969 kB / 0.5627 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1703, allocations: 0 / 0.5627 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1703, allocations: 0 / 0.5627 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1705, allocations: 141.7 kB / 0.5629 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1705, allocations: 0 / 0.5629 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.1705, allocations: 4 kB / 0.5629 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1705, allocations: 0 / 0.5629 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1705, allocations: 3.938 kB / 0.5629 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1705, allocations: 3.984 kB / 0.5629 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1705, allocations: 0 / 0.5629 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.087e-05/0.1706, allocations: 65.08 kB / 0.563 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1706, allocations: 77.11 kB / 0.563 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1706, allocations: 3.938 kB / 0.563 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-06/0.1707, allocations: 0 / 0.563 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.1707, allocations: 3.984 kB / 0.563 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1707, allocations: 0 / 0.563 GB, free: 5.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.468e-05/0.1707, allocations: 75.28 kB / 0.5631 GB, free: 5.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1707, allocations: 4.031 kB / 0.5631 GB, free: 5.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.1709, allocations: 16 kB / 0.5631 GB, free: 5.344 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 (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.0004685/0.1714, allocations: 0.6127 MB / 0.5637 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.643e-05/0.1715, allocations: 11.94 kB / 0.5637 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1715, allocations: 0 / 0.5637 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-06/0.1715, allocations: 4 kB / 0.5637 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1717, allocations: 2.109 kB / 0.5637 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.172, allocations: 112.3 kB / 0.5638 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1722, allocations: 0.6692 MB / 0.5645 GB, free: 3.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.072e-05/0.1722, allocations: 128 / 0.5645 GB, free: 3.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.1723, allocations: 15.44 kB / 0.5645 GB, free: 3.824 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1723, allocations: 0 / 0.5645 GB, free: 3.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.1904, allocations: 0.9465 MB / 0.5654 GB, free: 3.012 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.1906, allocations: 198.4 kB / 0.5656 GB, free: 2.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.025, allocations: 0 / 0.5656 GB, free: 2.754 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)