Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_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.004747/0.004747, allocations: 102 kB / 15.73 MB, free: 6.051 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.001069/0.001069, allocations: 195 kB / 16.68 MB, free: 5.969 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00225/0.00225, allocations: 290.7 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9116/0.9116, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 88.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.159, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002486/0.1615, allocations: 1.431 MB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004867/0.162, allocations: 240.1 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.162, allocations: 0 / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.1621, allocations: 3.938 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.1621, allocations: 8 kB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1625, allocations: 59.81 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.1625, allocations: 19.92 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.1626, allocations: 11.98 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.1627, allocations: 7.938 kB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.1627, allocations: 15.92 kB / 0.7677 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1627, allocations: 0 / 0.7677 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1629, allocations: 63.88 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.1629, allocations: 3.984 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.1629, allocations: 15.94 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1631, allocations: 48.22 kB / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1631, allocations: 0 / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.655e-06/0.1631, allocations: 3.984 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1631, allocations: 0 / 0.7678 GB, free: 6.996 MB / 0.5606 GB 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.0004143/0.1635, allocations: 343.4 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1635, allocations: 8.031 kB / 0.7681 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1636, allocations: 42.69 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.1636, allocations: 0.9375 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1637, allocations: 172.3 kB / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1637, allocations: 4.312 kB / 0.7683 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1638, allocations: 4.375 kB / 0.7683 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1639, allocations: 54.23 kB / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1639, allocations: 3.938 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.164, allocations: 0 / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.164, allocations: 0 / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1641, allocations: 39.95 kB / 0.7684 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.1644, allocations: 237 kB / 0.7687 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1645, allocations: 50.42 kB / 0.7687 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.1646, allocations: 20.91 kB / 0.7687 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.1653, allocations: 453.5 kB / 0.7692 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1653, allocations: 38.48 kB / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1653, allocations: 0 / 0.7692 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000314/0.1656, allocations: 81.75 kB / 0.7693 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.1657, allocations: 55.34 kB / 0.7693 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.1657, allocations: 101.8 kB / 0.7694 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1657, allocations: 25.7 kB / 0.7694 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.1658, allocations: 80.14 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1658, allocations: 15.84 kB / 0.7695 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.1659, allocations: 13.7 kB / 0.7695 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.166, allocations: 314.8 kB / 0.7698 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.166, allocations: 20.02 kB / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.1661, allocations: 11.98 kB / 0.7699 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1663, allocations: 44.81 kB / 0.7699 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1663, allocations: 3.938 kB / 0.7699 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001825/0.1664, allocations: 73.67 kB / 0.77 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1665, allocations: 4 kB / 0.77 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1665, allocations: 3.984 kB / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1665, allocations: 0 / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/0.1666, allocations: 8 kB / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1666, allocations: 0 / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.1666, allocations: 7.984 kB / 0.77 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1666, allocations: 0 / 0.77 GB, free: 4.379 MB / 0.5606 GB 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 6.289e-05/0.1667, allocations: 118.4 kB / 0.7701 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.1667, allocations: 7.906 kB / 0.7701 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.167, allocations: 68.78 kB / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.167, allocations: 0 / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.167, allocations: 3.984 kB / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.167, allocations: 0 / 0.7702 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1671, allocations: 161.6 kB / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1671, allocations: 0 / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.1672, allocations: 15.95 kB / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1672, allocations: 192 / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1672, allocations: 0 / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1672, allocations: 0 / 0.7704 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1672, allocations: 4 kB / 0.7704 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1674, allocations: 167.4 kB / 0.7705 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1675, allocations: 81.11 kB / 0.7706 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1675, allocations: 0 / 0.7706 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.1676, allocations: 7.984 kB / 0.7706 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.1676, allocations: 0 / 0.7706 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1676, allocations: 0 / 0.7706 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.1677, allocations: 83.28 kB / 0.7707 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1677, allocations: 3.938 kB / 0.7707 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002265/0.1679, allocations: 19.98 kB / 0.7707 GB, free: 3.555 MB / 0.5606 GB 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.0005436/0.1684, allocations: 0.7162 MB / 0.7714 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.1687, allocations: 39.98 kB / 0.7715 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1687, allocations: 0 / 0.7715 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.1687, allocations: 19.92 kB / 0.7715 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.169, allocations: 8 kB / 0.7715 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.1694, allocations: 135.4 kB / 0.7716 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1696, allocations: 0.6768 MB / 0.7723 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.1696, allocations: 0 / 0.7723 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.1697, allocations: 15.42 kB / 0.7723 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1697, allocations: 0 / 0.7723 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.1872, allocations: 1.533 MB / 0.7738 GB, free: 420 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.143, allocations: 15.66 kB / 0.7738 GB, free: 408 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)