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.001206/0.001206, allocations: 108.2 kB / 16.41 MB, free: 6.445 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.001199/0.001199, allocations: 189.2 kB / 17.34 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.363/1.363, 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.8036/0.8036, allocations: 125.4 MB / 416.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 72.88 kB / 0.5716 GB, free: 27.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1482, allocations: 78.56 MB / 0.6484 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002496/0.1507, allocations: 1.424 MB / 0.6498 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.1513, allocations: 260 kB / 0.65 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.1513, allocations: 0 / 0.65 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.1514, allocations: 7.938 kB / 0.65 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.1514, allocations: 0 / 0.65 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1518, allocations: 59.81 kB / 0.6501 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.1519, allocations: 23.92 kB / 0.6501 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.152, allocations: 7.938 kB / 0.6501 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.152, allocations: 11.98 kB / 0.6501 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.152, allocations: 11.94 kB / 0.6501 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.1521, allocations: 0 / 0.6501 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1522, allocations: 63.88 kB / 0.6502 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.1522, allocations: 11.97 kB / 0.6502 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.1523, allocations: 11.94 kB / 0.6502 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1524, allocations: 48.14 kB / 0.6503 GB, free: 3.688 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1524, allocations: 0 / 0.6503 GB, free: 3.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1524, allocations: 3.938 kB / 0.6503 GB, free: 3.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1524, allocations: 0 / 0.6503 GB, free: 3.684 MB / 494.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.0004839/0.1529, allocations: 343.4 kB / 0.6506 GB, free: 3.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.153, allocations: 15.97 kB / 0.6506 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.153, allocations: 34.75 kB / 0.6506 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.153, allocations: 8.922 kB / 0.6506 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1532, allocations: 172.3 kB / 0.6508 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1532, allocations: 4.312 kB / 0.6508 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.036e-06/0.1532, allocations: 384 / 0.6508 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1534, allocations: 50.23 kB / 0.6509 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1534, allocations: 3.938 kB / 0.6509 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1534, allocations: 0 / 0.6509 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1534, allocations: 0 / 0.6509 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1536, allocations: 35.97 kB / 0.6509 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.1539, allocations: 245 kB / 0.6511 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1541, allocations: 42.44 kB / 0.6512 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.1542, allocations: 28.89 kB / 0.6512 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/0.1549, allocations: 453.5 kB / 0.6516 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1549, allocations: 34.55 kB / 0.6517 GB, free: 1.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1549, allocations: 0 / 0.6517 GB, free: 1.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003506/0.1553, allocations: 81.66 kB / 0.6517 GB, free: 1.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1553, allocations: 55.34 kB / 0.6518 GB, free: 1.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.1554, allocations: 105.8 kB / 0.6519 GB, free: 1.711 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1554, allocations: 25.7 kB / 0.6519 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.1555, allocations: 84.14 kB / 0.652 GB, free: 1.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1555, allocations: 5.422 kB / 0.652 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.1555, allocations: 17.7 kB / 0.652 GB, free: 1.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1557, allocations: 319 kB / 0.6523 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.1558, allocations: 15.98 kB / 0.6523 GB, free: 1.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.1559, allocations: 11.98 kB / 0.6524 GB, free: 1.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.156, allocations: 40.81 kB / 0.6524 GB, free: 1.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.156, allocations: 3.938 kB / 0.6524 GB, free: 1.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.1562, allocations: 69.67 kB / 0.6525 GB, free: 1.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1562, allocations: 4 kB / 0.6525 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1563, allocations: 3.984 kB / 0.6525 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1563, allocations: 0 / 0.6525 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.1564, allocations: 12 kB / 0.6525 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1564, allocations: 0 / 0.6525 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.1564, allocations: 7.984 kB / 0.6525 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1564, allocations: 7.969 kB / 0.6525 GB, free: 1.062 MB / 494.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.007e-05/0.1565, allocations: 113.8 kB / 0.6526 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.1565, allocations: 3.953 kB / 0.6526 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1568, allocations: 72.72 kB / 0.6527 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1568, allocations: 0 / 0.6527 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1568, allocations: 3.984 kB / 0.6527 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1568, allocations: 4 kB / 0.6527 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.157, allocations: 165.6 kB / 0.6528 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.157, allocations: 3.938 kB / 0.6528 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.1571, allocations: 7.984 kB / 0.6529 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1571, allocations: 0 / 0.6529 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1571, allocations: 4 kB / 0.6529 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1571, allocations: 0 / 0.6529 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1571, allocations: 0 / 0.6529 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1573, allocations: 167.5 kB / 0.653 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.1574, allocations: 77.11 kB / 0.6531 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1574, allocations: 0 / 0.6531 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.1575, allocations: 7.984 kB / 0.6531 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1575, allocations: 0 / 0.6531 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1575, allocations: 4 kB / 0.6531 GB, free: 348 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.1576, allocations: 75.28 kB / 0.6532 GB, free: 272 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1576, allocations: 0 / 0.6532 GB, free: 272 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.1578, allocations: 31.95 kB / 0.6532 GB, free: 240 kB / 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.0006491/0.1585, allocations: 0.7162 MB / 0.6539 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1587, allocations: 35.95 kB / 0.6539 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1587, allocations: 0 / 0.6539 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.1588, allocations: 19.92 kB / 0.654 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.1591, allocations: 8 kB / 0.654 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.1595, allocations: 135.4 kB / 0.6541 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1598, allocations: 0.6729 MB / 0.6547 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.1598, allocations: 4 kB / 0.6548 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.1598, allocations: 11.42 kB / 0.6548 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1598, allocations: 0 / 0.6548 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.4255, allocations: 1.513 MB / 0.6562 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/8.76, allocations: 18.08 kB / 0.6563 GB, free: 13.08 MB / 0.4981 GB (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)