Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.004736/0.004736, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001584/0.001584, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002085, allocations: 287.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.916/0.916, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 95.84 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.161, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002425/0.1634, allocations: 1.425 MB / 0.7673 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.1641, allocations: 359.6 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.1641, allocations: 0 / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.1642, allocations: 3.938 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.1642, allocations: 0 / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.1646, allocations: 114 kB / 0.7678 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.1647, allocations: 19.92 kB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.644e-05/0.1648, allocations: 8 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.1648, allocations: 8 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.1649, allocations: 19.91 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.1649, allocations: 0 / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1651, allocations: 127.8 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.1651, allocations: 3.984 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.1652, allocations: 11.92 kB / 0.7679 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1653, allocations: 92.03 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1653, allocations: 0 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1653, allocations: 0 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1654, allocations: 0 / 0.768 GB, free: 6.754 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.0004127/0.1658, allocations: 359.4 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1658, allocations: 12.03 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.1659, allocations: 34.75 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.1659, allocations: 0.9375 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.166, allocations: 168.3 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.166, allocations: 384 / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.166, allocations: 384 / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1662, allocations: 54.22 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1662, allocations: 7.938 kB / 0.7686 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1662, allocations: 0 / 0.7686 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1662, allocations: 0 / 0.7686 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1664, allocations: 39.89 kB / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.1667, allocations: 241 kB / 0.7689 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1668, allocations: 46.48 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.1669, allocations: 24.91 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006876/0.1676, allocations: 469.4 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1676, allocations: 34.56 kB / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.866e-06/0.1676, allocations: 0 / 0.7695 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003207/0.1679, allocations: 89.52 kB / 0.7695 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.168, allocations: 51.41 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.1681, allocations: 110 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1681, allocations: 25.7 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.1681, allocations: 80.14 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1681, allocations: 15.83 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1682, allocations: 13.72 kB / 0.7698 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.1683, allocations: 314.8 kB / 0.7701 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.1683, allocations: 15.98 kB / 0.7701 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.1684, allocations: 19.98 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1686, allocations: 36.77 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1686, allocations: 3.938 kB / 0.7702 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001703/0.1687, allocations: 69.66 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1688, allocations: 4 kB / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1688, allocations: 4.094 kB / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1688, allocations: 4 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.1689, allocations: 7.984 kB / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1689, allocations: 0 / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.1689, allocations: 7.984 kB / 0.7703 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1689, allocations: 0 / 0.7703 GB, free: 4.109 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.464e-05/0.169, allocations: 114.4 kB / 0.7704 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.169, allocations: 3.906 kB / 0.7704 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.1692, allocations: 80.72 kB / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1693, allocations: 0 / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1693, allocations: 0 / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1693, allocations: 0 / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1694, allocations: 161.6 kB / 0.7706 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1694, allocations: 0 / 0.7706 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1695, allocations: 8 kB / 0.7706 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1695, allocations: 3.984 kB / 0.7706 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.1695, allocations: 0 / 0.7706 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1695, allocations: 4.031 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1695, allocations: 0 / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.1697, allocations: 167.4 kB / 0.7708 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.1698, allocations: 77.11 kB / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1698, allocations: 0 / 0.7709 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.1699, allocations: 11.97 kB / 0.7709 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.1699, allocations: 7.984 kB / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.1699, allocations: 0 / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.1699, allocations: 87.39 kB / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.17, allocations: 0 / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002462/0.1702, allocations: 36 kB / 0.771 GB, free: 3.266 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.0005838/0.1708, allocations: 0.7318 MB / 0.7717 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.171, allocations: 39.94 kB / 0.7718 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.171, allocations: 0 / 0.7718 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1711, allocations: 19.97 kB / 0.7718 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1713, allocations: 8 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.1717, allocations: 135.3 kB / 0.7719 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1719, allocations: 0.6808 MB / 0.7726 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.1719, allocations: 3.984 kB / 0.7726 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.172, allocations: 15.44 kB / 0.7726 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.172, allocations: 0 / 0.7726 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3196/0.4916, allocations: 1.788 MB / 0.7744 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.493, allocations: 15.47 kB / 0.7744 GB, free: 14.64 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)