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.001103/0.001103, allocations: 108 kB / 15.61 MB, free: 152 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.001143/0.001143, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002232/0.002232, allocations: 279 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9039/0.9039, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 97 kB / 0.5954 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1367, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001698/0.1384, allocations: 0.5718 MB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005825/0.139, allocations: 293.5 kB / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.095e-05/0.139, allocations: 0 / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.139, allocations: 0 / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.1391, allocations: 0 / 0.6811 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.1395, allocations: 102.2 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.872e-05/0.1395, allocations: 0.875 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.1396, allocations: 7.938 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.061e-05/0.1396, allocations: 0.5312 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.501e-05/0.1396, allocations: 1.125 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.72e-06/0.1396, allocations: 0 / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.1398, allocations: 123.8 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.1398, allocations: 0 / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.1399, allocations: 4.938 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.14, allocations: 67.83 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.14, allocations: 4 kB / 0.6814 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.14, allocations: 0 / 0.6814 GB, free: 15.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.14, allocations: 0 / 0.6814 GB, free: 15.44 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.0002583/0.1403, allocations: 329.1 kB / 0.6817 GB, free: 15.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1403, allocations: 8.031 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.1404, allocations: 30.75 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.1404, allocations: 8.875 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.1405, allocations: 164.4 kB / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1405, allocations: 384 / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-06/0.1405, allocations: 384 / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.979e-05/0.1406, allocations: 38.25 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1406, allocations: 3.938 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-06/0.1406, allocations: 4 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1406, allocations: 0 / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.1406, allocations: 3.938 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.1408, allocations: 141.7 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.989e-05/0.1408, allocations: 18.61 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.1408, allocations: 12.86 kB / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/0.1415, allocations: 453.5 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1415, allocations: 34.56 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1415, allocations: 0 / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001069/0.1416, allocations: 45.58 kB / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.1417, allocations: 55.39 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.977e-05/0.1417, allocations: 89.86 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.1417, allocations: 25.7 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.1417, allocations: 80.14 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.1418, allocations: 288 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.1418, allocations: 13.72 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.1419, allocations: 311 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-06/0.1419, allocations: 4 kB / 0.6832 GB, free: 13.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.1419, allocations: 8 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.1419, allocations: 4.859 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1419, allocations: 3.938 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.213e-05/0.142, allocations: 37.69 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.142, allocations: 7.938 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.142, allocations: 3.938 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.142, allocations: 0 / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.227e-05/0.1421, allocations: 4.094 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1421, allocations: 4 kB / 0.6833 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.1421, allocations: 7.844 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.1421, allocations: 0 / 0.6833 GB, free: 13.2 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 5.21e-05/0.1422, allocations: 106.5 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1422, allocations: 3.938 kB / 0.6834 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.1423, allocations: 48.69 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1423, allocations: 4 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1423, allocations: 4.031 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1423, allocations: 0 / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.173e-05/0.1424, allocations: 141.7 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1424, allocations: 3.984 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.1424, allocations: 4 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1424, allocations: 4 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1424, allocations: 3.938 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1424, allocations: 0 / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1424, allocations: 0 / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.738e-05/0.1425, allocations: 57.14 kB / 0.6837 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.1425, allocations: 85.09 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1425, allocations: 3.938 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-06/0.1425, allocations: 3.938 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.1425, allocations: 3.984 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.1426, allocations: 0 / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 1.961e-05/0.1426, allocations: 75.28 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1426, allocations: 0 / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000209/0.1428, allocations: 28 kB / 0.6839 GB, free: 12.53 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.0003951/0.1432, allocations: 0.632 MB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.95e-05/0.1433, allocations: 11.94 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1433, allocations: 0 / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.531e-06/0.1433, allocations: 0 / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1434, allocations: 4 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.1437, allocations: 116.4 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.1439, allocations: 0.6691 MB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.003e-05/0.1439, allocations: 7.984 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.1439, allocations: 15.42 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1439, allocations: 0 / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.1604, allocations: 1.368 MB / 0.6866 GB, free: 9.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.99, allocations: 17.69 kB / 0.6866 GB, free: 9.684 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)