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.001073/0.001073, allocations: 101.7 kB / 16.4 MB, free: 6.484 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.001116/0.001116, allocations: 189.2 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7557/0.7557, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 66.98 kB / 0.5572 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1772, allocations: 76.18 MB / 0.6316 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001779/0.179, allocations: 0.5688 MB / 0.6322 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004861/0.1795, allocations: 191.7 kB / 0.6324 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.502e-05/0.1796, allocations: 4 kB / 0.6324 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1796, allocations: 3.938 kB / 0.6324 GB, free: 4.098 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.1796, allocations: 0 / 0.6324 GB, free: 4.098 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1801, allocations: 59.81 kB / 0.6324 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.145e-05/0.1801, allocations: 0 / 0.6324 GB, free: 4.039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.1802, allocations: 4 kB / 0.6324 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.1802, allocations: 0 / 0.6324 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.1802, allocations: 0 / 0.6324 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.1802, allocations: 0 / 0.6324 GB, free: 4.035 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.1804, allocations: 59.94 kB / 0.6325 GB, free: 3.977 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.1804, allocations: 3.984 kB / 0.6325 GB, free: 3.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.832e-05/0.1804, allocations: 0 / 0.6325 GB, free: 3.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1806, allocations: 31.89 kB / 0.6325 GB, free: 3.941 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1806, allocations: 0 / 0.6325 GB, free: 3.941 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1806, allocations: 7.938 kB / 0.6325 GB, free: 3.934 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1806, allocations: 3.938 kB / 0.6325 GB, free: 3.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003451/0.181, allocations: 323.6 kB / 0.6328 GB, free: 3.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.181, allocations: 8.031 kB / 0.6329 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.1811, allocations: 30.75 kB / 0.6329 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.1811, allocations: 0.9375 kB / 0.6329 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1813, allocations: 164.4 kB / 0.633 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1813, allocations: 384 / 0.633 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1813, allocations: 384 / 0.633 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.1814, allocations: 34.25 kB / 0.6331 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1814, allocations: 3.938 kB / 0.6331 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1815, allocations: 0 / 0.6331 GB, free: 3.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1815, allocations: 7.984 kB / 0.6331 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.682e-05/0.1815, allocations: 3.938 kB / 0.6331 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1817, allocations: 149.7 kB / 0.6332 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.1817, allocations: 18.61 kB / 0.6333 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.1817, allocations: 8.859 kB / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009252/0.1827, allocations: 461.5 kB / 0.6337 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1827, allocations: 34.56 kB / 0.6337 GB, free: 2.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1827, allocations: 0 / 0.6337 GB, free: 2.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.1829, allocations: 45.56 kB / 0.6338 GB, free: 2.391 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1829, allocations: 51.41 kB / 0.6338 GB, free: 2.328 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.183, allocations: 89.86 kB / 0.6339 GB, free: 2.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.183, allocations: 25.7 kB / 0.6339 GB, free: 2.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.183, allocations: 80.14 kB / 0.634 GB, free: 2.117 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.1831, allocations: 7.906 kB / 0.634 GB, free: 2.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1831, allocations: 13.72 kB / 0.634 GB, free: 2.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1832, allocations: 310.8 kB / 0.6343 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.1832, allocations: 4.125 kB / 0.6343 GB, free: 1.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.1832, allocations: 0 / 0.6343 GB, free: 1.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.1833, allocations: 12.84 kB / 0.6343 GB, free: 1.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1833, allocations: 0 / 0.6343 GB, free: 1.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.172e-05/0.1833, allocations: 37.64 kB / 0.6344 GB, free: 1.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1834, allocations: 8 kB / 0.6344 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1834, allocations: 3.938 kB / 0.6344 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1834, allocations: 0 / 0.6344 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.1834, allocations: 4.031 kB / 0.6344 GB, free: 1.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1835, allocations: 8 kB / 0.6344 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.1835, allocations: 0 / 0.6344 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1835, allocations: 0 / 0.6344 GB, free: 1.691 MB / 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 (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.459e-05/0.1836, allocations: 109.8 kB / 0.6345 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.1836, allocations: 0 / 0.6345 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-05/0.1837, allocations: 44.64 kB / 0.6346 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1837, allocations: 0 / 0.6346 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1837, allocations: 4 kB / 0.6346 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1837, allocations: 4.031 kB / 0.6346 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1838, allocations: 149.7 kB / 0.6347 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1838, allocations: 0 / 0.6347 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.1838, allocations: 0 / 0.6347 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1839, allocations: 4 kB / 0.6347 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1839, allocations: 3.938 kB / 0.6347 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1839, allocations: 0 / 0.6347 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1839, allocations: 0 / 0.6347 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.786e-05/0.184, allocations: 61.12 kB / 0.6348 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.184, allocations: 81.11 kB / 0.6348 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.184, allocations: 3.938 kB / 0.6348 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.184, allocations: 4 kB / 0.6349 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.1841, allocations: 0 / 0.6349 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1841, allocations: 3.938 kB / 0.6349 GB, free: 1.125 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.1841, allocations: 75.28 kB / 0.6349 GB, free: 1.051 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1841, allocations: 0 / 0.6349 GB, free: 1.051 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1843, allocations: 16 kB / 0.6349 GB, free: 1.035 MB / 478.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.0005307/0.1849, allocations: 0.613 MB / 0.6355 GB, free: 400 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.185, allocations: 12.03 kB / 0.6356 GB, free: 388 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.185, allocations: 0 / 0.6356 GB, free: 388 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 8.145e-06/0.185, allocations: 3.938 kB / 0.6356 GB, free: 384 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1852, allocations: 5.406 kB / 0.6356 GB, free: 380 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.1855, allocations: 118.7 kB / 0.6357 GB, free: 220 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1858, allocations: 0.669 MB / 0.6363 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.33e-05/0.1859, allocations: 0 / 0.6363 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.1859, allocations: 15.38 kB / 0.6363 GB, free: 15.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1859, allocations: 0 / 0.6363 GB, free: 15.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.2047, allocations: 1.146 MB / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/7.62, allocations: 9.703 kB / 0.6375 GB, free: 14.43 MB / 494.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)