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.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 132 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.001704/0.001704, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 279.2 kB / 290.7 MB, free: 2.043 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.056/1.056, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 97.56 kB / 0.6065 GB, free: 24.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1644, allocations: 89.15 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002969/0.1675, allocations: 1.424 MB / 0.695 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.1682, allocations: 361.6 kB / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1683, allocations: 4 kB / 0.6953 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.1683, allocations: 3.938 kB / 0.6953 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.1683, allocations: 7.922 kB / 0.6954 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1688, allocations: 107.7 kB / 0.6955 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.1689, allocations: 23.92 kB / 0.6955 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.169, allocations: 12 kB / 0.6955 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.169, allocations: 3.938 kB / 0.6955 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.1691, allocations: 11.98 kB / 0.6955 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1691, allocations: 4 kB / 0.6955 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.1693, allocations: 131.7 kB / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.1694, allocations: 0 / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1694, allocations: 15.92 kB / 0.6957 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1696, allocations: 87.8 kB / 0.6957 GB, free: 2.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1696, allocations: 0 / 0.6957 GB, free: 2.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1696, allocations: 0 / 0.6957 GB, free: 2.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1696, allocations: 0 / 0.6957 GB, free: 2.047 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005153/0.1701, allocations: 359.7 kB / 0.6961 GB, free: 1.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1702, allocations: 8.031 kB / 0.6961 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.1702, allocations: 34.73 kB / 0.6961 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.1703, allocations: 8.922 kB / 0.6961 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1704, allocations: 164.4 kB / 0.6963 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1704, allocations: 384 / 0.6963 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.1704, allocations: 4.375 kB / 0.6963 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1706, allocations: 54.17 kB / 0.6963 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1706, allocations: 7.938 kB / 0.6964 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.1706, allocations: 0 / 0.6964 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1707, allocations: 0 / 0.6964 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1708, allocations: 31.95 kB / 0.6964 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1712, allocations: 244.9 kB / 0.6966 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1713, allocations: 50.44 kB / 0.6967 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.181e-05/0.1714, allocations: 24.89 kB / 0.6967 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/0.1722, allocations: 469.5 kB / 0.6971 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1722, allocations: 34.5 kB / 0.6972 GB, free: 324 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1723, allocations: 0 / 0.6972 GB, free: 324 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003614/0.1726, allocations: 81.64 kB / 0.6972 GB, free: 236 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1727, allocations: 55.53 kB / 0.6973 GB, free: 168 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.1728, allocations: 101.8 kB / 0.6974 GB, free: 56 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1728, allocations: 29.64 kB / 0.6974 GB, free: 20 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.1729, allocations: 80.14 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.1729, allocations: 7.906 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1729, allocations: 13.72 kB / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1731, allocations: 310.8 kB / 0.6978 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.634e-05/0.1732, allocations: 27.97 kB / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.1732, allocations: 15.92 kB / 0.6979 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1734, allocations: 36.83 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1734, allocations: 3.938 kB / 0.6979 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.1736, allocations: 65.72 kB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1736, allocations: 8.031 kB / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1736, allocations: 4 kB / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1737, allocations: 0 / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.1737, allocations: 19.92 kB / 0.698 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1738, allocations: 0 / 0.698 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.1738, allocations: 11.92 kB / 0.698 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1738, allocations: 0 / 0.698 GB, free: 15.4 MB / 0.4981 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 8.226e-05/0.1739, allocations: 110.4 kB / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1739, allocations: 8 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.1742, allocations: 68.78 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1742, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1742, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1742, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.1744, allocations: 165.5 kB / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1744, allocations: 0 / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.1745, allocations: 8 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1745, allocations: 4.031 kB / 0.6983 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1745, allocations: 3.938 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1745, allocations: 3.984 kB / 0.6984 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1745, allocations: 192 / 0.6984 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1747, allocations: 159.5 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.1748, allocations: 93.02 kB / 0.6986 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1748, allocations: 4.031 kB / 0.6986 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.1749, allocations: 4 kB / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.175, allocations: 3.984 kB / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.175, allocations: 0 / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.175, allocations: 79.28 kB / 0.6987 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.175, allocations: 0 / 0.6987 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002511/0.1753, allocations: 32 kB / 0.6987 GB, free: 14.57 MB / 0.4981 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.0007463/0.176, allocations: 0.7397 MB / 0.6994 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1762, allocations: 35.97 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1763, allocations: 0 / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.1763, allocations: 15.98 kB / 0.6995 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1766, allocations: 7.984 kB / 0.6995 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.177, allocations: 151.2 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1774, allocations: 0.6807 MB / 0.7003 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.1774, allocations: 3.984 kB / 0.7003 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.1774, allocations: 7.438 kB / 0.7003 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1774, allocations: 0 / 0.7003 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.2, allocations: 1.757 MB / 0.702 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.552, allocations: 14.23 kB / 0.702 GB, free: 11.13 MB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1_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_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)