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.001146/0.001146, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 184.3 kB / 16.62 MB, free: 6.582 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.285/1.285, allocations: 222.9 MB / 240.3 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002145, allocations: 279 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.9344/0.9344, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 98.97 kB / 0.5955 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 86.97 MB / 0.6805 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001571/0.1436, allocations: 0.5788 MB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005332/0.1441, allocations: 288 kB / 0.6813 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.164e-05/0.1441, allocations: 0 / 0.6813 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1442, allocations: 3.938 kB / 0.6813 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.1442, allocations: 3.938 kB / 0.6813 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1446, allocations: 99.66 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.102e-05/0.1446, allocations: 4 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.1446, allocations: 0 / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.003e-05/0.1447, allocations: 0 / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.504e-05/0.1447, allocations: 0 / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-06/0.1447, allocations: 4 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.1449, allocations: 131.8 kB / 0.6815 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-06/0.1449, allocations: 0 / 0.6815 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.1449, allocations: 0 / 0.6815 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1451, allocations: 59.91 kB / 0.6816 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1451, allocations: 0 / 0.6816 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1451, allocations: 0 / 0.6816 GB, free: 15.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1451, allocations: 0 / 0.6816 GB, free: 15.34 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002705/0.1454, allocations: 331.5 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1454, allocations: 12.03 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.1454, allocations: 34.75 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.628e-05/0.1455, allocations: 0.9375 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.902e-05/0.1455, allocations: 164.4 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1456, allocations: 4.312 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.1456, allocations: 384 / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.382e-05/0.1456, allocations: 34.27 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1457, allocations: 3.938 kB / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.1457, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.1457, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.405e-05/0.1457, allocations: 0 / 0.6821 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.1458, allocations: 157.6 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.908e-05/0.1459, allocations: 14.58 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.1459, allocations: 12.86 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006664/0.1465, allocations: 457.6 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1466, allocations: 30.56 kB / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1466, allocations: 0 / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.1467, allocations: 45.56 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1467, allocations: 51.41 kB / 0.6829 GB, free: 13.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.704e-05/0.1468, allocations: 89.86 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1468, allocations: 25.7 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.1468, allocations: 88.27 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1469, allocations: 288 / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.1469, allocations: 9.719 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.147, allocations: 314.8 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.147, allocations: 4 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.147, allocations: 7.922 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.147, allocations: 8.859 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.147, allocations: 0 / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.504e-05/0.1471, allocations: 41.69 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1471, allocations: 4 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1471, allocations: 3.938 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1471, allocations: 0 / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.1472, allocations: 4 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1472, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.1472, allocations: 7.844 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1472, allocations: 0 / 0.6835 GB, free: 13.09 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 (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 6.965e-05/0.1473, allocations: 110.5 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.1473, allocations: 12.03 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.1474, allocations: 36.77 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1474, allocations: 3.938 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1474, allocations: 0 / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1474, allocations: 3.938 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.763e-05/0.1475, allocations: 145.7 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1475, allocations: 0 / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.1475, allocations: 4 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1475, allocations: 0 / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1475, allocations: 3.938 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1475, allocations: 4.031 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1476, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.064e-05/0.1476, allocations: 61.12 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.1477, allocations: 77.11 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.1477, allocations: 3.938 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-06/0.1477, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-06/0.1477, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1477, allocations: 8.031 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.412e-05/0.1477, allocations: 75.28 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1477, allocations: 0 / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1479, allocations: 27.98 kB / 0.684 GB, free: 12.43 MB / 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 (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.0004077/0.1484, allocations: 0.6358 MB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.322e-05/0.1484, allocations: 7.984 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1484, allocations: 0 / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-06/0.1485, allocations: 12 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.1486, allocations: 2.062 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.1489, allocations: 114.7 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.1491, allocations: 0.6767 MB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.056e-05/0.1491, allocations: 0 / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.1491, allocations: 11.44 kB / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1491, allocations: 0 / 0.6854 GB, free: 10.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.1655, allocations: 1.394 MB / 0.6868 GB, free: 9.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.139, allocations: 11.97 kB / 0.6868 GB, free: 9.578 MB / 494.1 MB (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)