Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",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.007068/0.007068, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001568/0.001568, allocations: 196.2 kB / 16.68 MB, free: 5.957 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 292 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9082/0.9082, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 103.8 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4281, allocations: 86.99 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002415/0.4306, allocations: 1.414 MB / 0.7673 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006179/0.4312, allocations: 339.8 kB / 0.7676 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.4313, allocations: 4 kB / 0.7676 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.4313, allocations: 7.922 kB / 0.7676 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.4314, allocations: 0 / 0.7676 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.4318, allocations: 99.72 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.4319, allocations: 27.86 kB / 0.7678 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.4319, allocations: 7.984 kB / 0.7678 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.432, allocations: 11.98 kB / 0.7678 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.432, allocations: 7.938 kB / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.432, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.4322, allocations: 131.8 kB / 0.7679 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.4323, allocations: 7.922 kB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.4323, allocations: 7.938 kB / 0.7679 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.4325, allocations: 90.62 kB / 0.768 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4325, allocations: 4 kB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4325, allocations: 0 / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.4325, allocations: 0 / 0.768 GB, free: 1.707 MB / 0.5294 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.0004771/0.433, allocations: 351.5 kB / 0.7683 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.433, allocations: 12.03 kB / 0.7684 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.4331, allocations: 30.75 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.4331, allocations: 0.9375 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.4332, allocations: 168.3 kB / 0.7686 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4332, allocations: 8.375 kB / 0.7686 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.4332, allocations: 4.312 kB / 0.7686 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.4334, allocations: 50.23 kB / 0.7686 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4334, allocations: 3.938 kB / 0.7686 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.4334, allocations: 4 kB / 0.7686 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.4335, allocations: 0 / 0.7686 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.4336, allocations: 35.95 kB / 0.7687 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.4339, allocations: 248.9 kB / 0.7689 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.434, allocations: 42.44 kB / 0.7689 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.419e-05/0.4341, allocations: 24.89 kB / 0.769 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/0.4348, allocations: 457.5 kB / 0.7694 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4349, allocations: 30.62 kB / 0.7694 GB, free: 16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4349, allocations: 0 / 0.7694 GB, free: 16 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.4352, allocations: 85.67 kB / 0.7695 GB, free: 15.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.4353, allocations: 55.34 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.4353, allocations: 101.8 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.4354, allocations: 25.7 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.4354, allocations: 84.14 kB / 0.7698 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4354, allocations: 3.906 kB / 0.7698 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.4355, allocations: 13.72 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4356, allocations: 318.8 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.4357, allocations: 20.02 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.4357, allocations: 11.98 kB / 0.7701 GB, free: 15.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4359, allocations: 40.81 kB / 0.7701 GB, free: 15.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4359, allocations: 3.938 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001804/0.4361, allocations: 69.67 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4361, allocations: 7.938 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.4361, allocations: 0 / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4361, allocations: 3.984 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.4362, allocations: 8 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4362, allocations: 0 / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.4363, allocations: 15.92 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.4363, allocations: 0 / 0.7703 GB, free: 15.09 MB / 0.545 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 7.09e-05/0.4364, allocations: 117.8 kB / 0.7704 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.4364, allocations: 0 / 0.7704 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.4366, allocations: 72.69 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4366, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4366, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4366, allocations: 7.984 kB / 0.7704 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.4368, allocations: 161.6 kB / 0.7706 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4368, allocations: 192 / 0.7706 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.4369, allocations: 15.95 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4369, allocations: 0 / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4369, allocations: 7.984 kB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4369, allocations: 0 / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4369, allocations: 0 / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.4371, allocations: 165.2 kB / 0.7708 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.4372, allocations: 81.14 kB / 0.7709 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.4372, allocations: 0 / 0.7709 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.4373, allocations: 11.98 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.4373, allocations: 0 / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4373, allocations: 4 kB / 0.7709 GB, free: 14.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.4374, allocations: 75.28 kB / 0.7709 GB, free: 14.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4374, allocations: 0 / 0.7709 GB, free: 14.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002593/0.4376, allocations: 35.98 kB / 0.771 GB, free: 14.25 MB / 0.545 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.0006163/0.4383, allocations: 0.7358 MB / 0.7717 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.4385, allocations: 31.97 kB / 0.7717 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4385, allocations: 0 / 0.7717 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.4385, allocations: 23.91 kB / 0.7717 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.4388, allocations: 7.938 kB / 0.7718 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.4392, allocations: 155.3 kB / 0.7719 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.4395, allocations: 0.6768 MB / 0.7726 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.4395, allocations: 0 / 0.7726 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.4396, allocations: 7.438 kB / 0.7726 GB, free: 12.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.4396, allocations: 0 / 0.7726 GB, free: 12.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.4571, allocations: 1.792 MB / 0.7743 GB, free: 10.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.465, allocations: 4.562 kB / 0.7743 GB, free: 10.82 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)