Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.004424/0.004424, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001013/0.001013, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 266.9 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8991/0.8991, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 96 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1532, allocations: 86.98 MB / 0.7659 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001626/0.1549, allocations: 0.5923 MB / 0.7665 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005897/0.1555, allocations: 279 kB / 0.7668 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.1555, allocations: 0 / 0.7668 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1555, allocations: 0 / 0.7668 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-06/0.1556, allocations: 0 / 0.7668 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.1561, allocations: 103.3 kB / 0.7669 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.455e-05/0.1561, allocations: 0 / 0.7669 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.1562, allocations: 4 kB / 0.7669 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.1562, allocations: 3.938 kB / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.724e-05/0.1562, allocations: 0 / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.1562, allocations: 0 / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.1564, allocations: 119.8 kB / 0.767 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.866e-06/0.1565, allocations: 4 kB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.362e-05/0.1565, allocations: 0 / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1566, allocations: 71.83 kB / 0.7671 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1566, allocations: 4 kB / 0.7671 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1566, allocations: 4 kB / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.1567, allocations: 0 / 0.7671 GB, free: 7.707 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002625/0.1569, allocations: 323.6 kB / 0.7674 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.157, allocations: 8.031 kB / 0.7674 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.157, allocations: 30.75 kB / 0.7674 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.157, allocations: 4.922 kB / 0.7674 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.1571, allocations: 160.4 kB / 0.7676 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1571, allocations: 4.375 kB / 0.7676 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-06/0.1571, allocations: 4.375 kB / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.129e-05/0.1572, allocations: 26.27 kB / 0.7676 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1572, allocations: 3.938 kB / 0.7676 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1572, allocations: 7.938 kB / 0.7676 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1572, allocations: 3.938 kB / 0.7676 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.1573, allocations: 7.938 kB / 0.7676 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1574, allocations: 145.7 kB / 0.7678 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.468e-05/0.1574, allocations: 18.61 kB / 0.7678 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.1575, allocations: 8.859 kB / 0.7678 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/0.1581, allocations: 453.5 kB / 0.7682 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1582, allocations: 34.55 kB / 0.7683 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1582, allocations: 4 kB / 0.7683 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.1583, allocations: 49.48 kB / 0.7683 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1583, allocations: 51.41 kB / 0.7684 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.364e-05/0.1584, allocations: 89.86 kB / 0.7685 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.1584, allocations: 25.7 kB / 0.7685 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.1584, allocations: 80.14 kB / 0.7686 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1585, allocations: 4.219 kB / 0.7686 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1585, allocations: 13.72 kB / 0.7686 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.1586, allocations: 319 kB / 0.7689 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-06/0.1586, allocations: 0 / 0.7689 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-06/0.1586, allocations: 0 / 0.7689 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.1586, allocations: 16.8 kB / 0.7689 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1586, allocations: 0 / 0.7689 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.882e-05/0.1587, allocations: 33.7 kB / 0.7689 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1587, allocations: 8 kB / 0.7689 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1587, allocations: 3.938 kB / 0.7689 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1587, allocations: 96 / 0.7689 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.1588, allocations: 4 kB / 0.7689 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1588, allocations: 0 / 0.7689 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.348e-06/0.1588, allocations: 0 / 0.7689 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1588, allocations: 7.984 kB / 0.769 GB, free: 5.465 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 (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 5.635e-05/0.1589, allocations: 106.5 kB / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.1589, allocations: 0 / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.159, allocations: 44.7 kB / 0.7691 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.159, allocations: 0 / 0.7691 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.159, allocations: 4.031 kB / 0.7691 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.159, allocations: 4 kB / 0.7691 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.17e-05/0.1591, allocations: 145.7 kB / 0.7692 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.1591, allocations: 0 / 0.7692 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.1591, allocations: 3.938 kB / 0.7692 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1591, allocations: 0 / 0.7692 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1591, allocations: 7.938 kB / 0.7693 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1591, allocations: 0 / 0.7693 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1591, allocations: 3.984 kB / 0.7693 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.984e-05/0.1592, allocations: 65.06 kB / 0.7693 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.1592, allocations: 77.11 kB / 0.7694 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1593, allocations: 11.88 kB / 0.7694 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.1593, allocations: 0 / 0.7694 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-06/0.1593, allocations: 0 / 0.7694 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1593, allocations: 0 / 0.7694 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.1593, allocations: 75.28 kB / 0.7695 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1593, allocations: 0 / 0.7695 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000212/0.1595, allocations: 27.98 kB / 0.7695 GB, free: 4.801 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 (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.0005054/0.16, allocations: 0.6398 MB / 0.7701 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.816e-05/0.1601, allocations: 15.92 kB / 0.7701 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1602, allocations: 0 / 0.7701 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.762e-06/0.1602, allocations: 0 / 0.7701 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1603, allocations: 6.188 kB / 0.7702 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.1607, allocations: 110.6 kB / 0.7703 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1609, allocations: 0.6769 MB / 0.7709 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.1609, allocations: 0 / 0.7709 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.161, allocations: 7.438 kB / 0.7709 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.161, allocations: 0 / 0.7709 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1782, allocations: 1.407 MB / 0.7723 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.136, allocations: 11.94 kB / 0.7723 GB, free: 1.938 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)